renamed message field to description
This commit is contained in:
parent
4e6a2f18cd
commit
f84901dcc3
1 changed files with 4 additions and 4 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue