Skip to content

Commit

Permalink
Changed names and visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocarnelos committed Nov 29, 2019
1 parent d6dff4d commit fdb3623
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class PollManager implements ReceivedMessageListener<SMSMessage> {

// NOTE: FIELD_SEPARATOR is a regex, there are some illegal values (e.g. "*")
// must not be private for tests to work, not a big deal since it's final
private static final String FIELD_SEPARATOR = "\n";
public static final String FIELD_SEPARATOR = "\n";
private static final String NEW_POLL_MSG_CODE = "0";
private static final String ANSWER_MSG_CODE = "1";
private static final String YES_ANSWER_CODE = "1";
Expand All @@ -45,7 +45,7 @@ public class PollManager implements ReceivedMessageListener<SMSMessage> {
* @author Matteo Carnelos
*/
private PollManager() {
smsManager.addReceiveListener(this);
smsManager.setReceiveListener(this);
}

/**
Expand Down

0 comments on commit fdb3623

Please sign in to comment.