Skip to content

Commit c131402

Browse files
pizzasamtstern
authored andcommitted
Changed order of parameters in constructor of "Chat" class (#758)
All examples of the `new Chat(...)` constructor being used in the code assume the message is the 3rd parameter passed to the constructor and not the 2nd.
1 parent b348218 commit c131402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static class Chat {
2727
// Needed for Firebase
2828
}
2929

30-
public Chat(String name, String message, String uid) {
30+
public Chat(String name, String uid, String message) {
3131
mName = name;
3232
mMessage = message;
3333
mUid = uid;

0 commit comments

Comments
 (0)