Bad getters signature
This commit is contained in:
parent
b1d6ce25e3
commit
159da23f7b
|
@ -69,7 +69,7 @@ public class Event extends JSONObject {
|
|||
set(NAME_ENTRY, name);
|
||||
}
|
||||
|
||||
public String getName(String name) {
|
||||
public String getName() {
|
||||
return (String) get(NAME_ENTRY);
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,7 @@ public class Event extends JSONObject {
|
|||
set(TYPE_ENTRY, type);
|
||||
}
|
||||
|
||||
public String getType(String type) {
|
||||
public String getType() {
|
||||
return (String) get(TYPE_ENTRY);
|
||||
}
|
||||
|
||||
|
@ -85,7 +85,7 @@ public class Event extends JSONObject {
|
|||
set(SENDER_ENTRY, sender);
|
||||
}
|
||||
|
||||
public String getSender(String sender) {
|
||||
public String getSender() {
|
||||
return (String) get(SENDER_ENTRY);
|
||||
}
|
||||
|
||||
|
@ -93,7 +93,7 @@ public class Event extends JSONObject {
|
|||
set(USER_ENTRY, user);
|
||||
}
|
||||
|
||||
public String getUser(String user) {
|
||||
public String getUser() {
|
||||
return (String) get(USER_ENTRY);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue