refactor(Poll.java): add back Option constructors
This commit is contained in:
@@ -62,6 +62,12 @@ public class Poll extends BaseModel{
|
||||
public String title;
|
||||
public Integer votesCount;
|
||||
|
||||
// MOSHIDON: we use this once :D
|
||||
public Option() {}
|
||||
public Option(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString(){
|
||||
return "Option{"+
|
||||
|
||||
Reference in New Issue
Block a user