Use explicit scoping instead of the default package private level
This commit is contained in:
parent
0558b63cfc
commit
6fc9dd126b
2 changed files with 13 additions and 13 deletions
|
|
@ -24,15 +24,15 @@ public class RethinkServer {
|
||||||
|
|
||||||
private Rethink rethink;
|
private Rethink rethink;
|
||||||
|
|
||||||
String accept_emote = null;
|
public String accept_emote = null;
|
||||||
String decline_emote = null;
|
public String decline_emote = null;
|
||||||
String id;
|
public String id;
|
||||||
boolean invite_detect = false;
|
public boolean invite_detect = false;
|
||||||
String message_id = null;
|
public String message_id = null;
|
||||||
String neededstars = "3";
|
public String neededstars = "3";
|
||||||
String prefix = "h.";
|
public String prefix = "h.";
|
||||||
String role_id = null;
|
public String role_id = null;
|
||||||
String starboard = null;
|
public String starboard = null;
|
||||||
|
|
||||||
public RethinkServer(JSONObject object, Rethink rethink) {
|
public RethinkServer(JSONObject object, Rethink rethink) {
|
||||||
for (Field field : this.getClass().getDeclaredFields()) {
|
for (Field field : this.getClass().getDeclaredFields()) {
|
||||||
|
|
|
||||||
|
|
@ -24,10 +24,10 @@ public class RethinkUser {
|
||||||
|
|
||||||
private Rethink rethink;
|
private Rethink rethink;
|
||||||
|
|
||||||
String id;
|
public String id;
|
||||||
String prefix = "h.";
|
public String prefix = "h.";
|
||||||
String language = "en";
|
public String language = "en";
|
||||||
String blacklisted = null;
|
public String blacklisted = null;
|
||||||
|
|
||||||
public RethinkUser(JSONObject object, Rethink rethink) {
|
public RethinkUser(JSONObject object, Rethink rethink) {
|
||||||
for (Field field : this.getClass().getDeclaredFields()) {
|
for (Field field : this.getClass().getDeclaredFields()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue