Skip to content

Commit

Permalink
followed repo gets initialized to empty roomIds, to avoid future pote…
Browse files Browse the repository at this point in the history
…ntial null problems
  • Loading branch information
Zomis committed Jan 21, 2015
1 parent db4efe3 commit 2b9cc06
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public void update(String name, long lastChecked, long lastEventId) {
repo.setName(name);
repo.setLastChecked(lastChecked);
repo.setLastEventId(lastEventId);
repo.setRoomIds("");
openSession().persist(repo);
}
catch (Exception ex) {
Expand Down

0 comments on commit 2b9cc06

Please sign in to comment.