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