Bad getters signature

This commit is contained in:
Mauro Mugnaini 2020-06-24 09:52:22 +02:00
parent b1d6ce25e3
commit 159da23f7b
1 changed files with 4 additions and 4 deletions

View File

@ -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);
}