renamed message field to description

This commit is contained in:
Ziver Koc 2018-08-08 11:31:58 +02:00
parent 4e6a2f18cd
commit f84901dcc3

View file

@ -108,7 +108,7 @@ public class UserMessageManager implements Iterable<UserMessageManager.UserMessa
private int id; private int id;
private MessageLevel level; private MessageLevel level;
private String title; private String title;
private String msg; private String description;
private int ttl; private int ttl;
@ -122,7 +122,7 @@ public class UserMessageManager implements Iterable<UserMessageManager.UserMessa
this.id = nextId++; this.id = nextId++;
this.level = level; this.level = level;
this.title = title; this.title = title;
this.msg = description; this.description = description;
setTTL(ttl); setTTL(ttl);
} }
@ -151,8 +151,8 @@ public class UserMessageManager implements Iterable<UserMessageManager.UserMessa
return title; return title;
} }
public String getMessage() { public String getDescription() {
return msg; return description;
} }
public void decreaseTTL() { public void decreaseTTL() {