예제 #1
0
 public void updateLastInfo(Long lastId, Long lastTimeStamp) {
   if (follower != null && (follower.getLastId() != lastId)
       || follower.getLastTimeStamp() != lastTimeStamp) {
     follower.setLastId(lastId);
     follower.setLastTimeStamp(lastTimeStamp);
     followerService.updateFollower(follower);
   }
 }
예제 #2
0
 public void updateLastId(Long finalLastId) {
   if (follower != null && follower.getLastId() != finalLastId) {
     follower.setLastId(finalLastId);
     followerService.updateFollower(follower);
   }
 }