Skip to content

Commit dd34753

Browse files
gazialankussamtstern
authored andcommitted
Removed static from class definition. (#788)
1 parent c449be1 commit dd34753

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ So say we have these chat messages in our Firebase database:
1818
We can represent a chat message with this Java class:
1919

2020
```java
21-
public static class Chat {
21+
public class Chat {
2222
private String mName;
2323
private String mMessage;
2424
private String mUid;
@@ -139,7 +139,7 @@ If we use the same layout as before (`android.R.layout.two_line_list_item`), the
139139
We can wrap that in a ViewHolder with:
140140

141141
```java
142-
public static class ChatHolder extends RecyclerView.ViewHolder {
142+
public class ChatHolder extends RecyclerView.ViewHolder {
143143
private final TextView mNameField;
144144
private final TextView mMessageField;
145145

0 commit comments

Comments
 (0)