comparison src/main/java/app/bbs/BulletinBoardJungleManager.java @ 135:2e8034524259

Added NetworkJournal and SingletonMessageFromAlice class
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Sun, 12 Jan 2014 06:18:37 +0900
parents 00fcb468de27
children 07106bbc6c17
comparison
equal deleted inserted replaced
134:a6fa10e42601 135:2e8034524259
72 for(Node n : node.getChildren()) { 72 for(Node n : node.getChildren()) {
73 ByteBuffer timestamp = n.getAttributes().get("timestamp"); 73 ByteBuffer timestamp = n.getAttributes().get("timestamp");
74 if(timestamp == null) { 74 if(timestamp == null) {
75 return count; 75 return count;
76 } 76 }
77 childTimeStamp = timestamp.getLong(); 77 childTimeStamp = timestamp.getLong(0);
78 if (newNodeTimeStamp < childTimeStamp) { 78 if (newNodeTimeStamp < childTimeStamp) {
79 break; 79 break;
80 } 80 }
81 count++; 81 count++;
82 } 82 }