private ReviewCacheManager() {
stop = false;
}
public boolean updateComments(List<Comment> comments) {
IDavinciProject project;
Hashtable<String, Comment> reviewHash;
for (Comment comment : comments) {
project = comment.getProject();
synchronized(project){
reviewHash = loadReviewFile(project);
if (null == reviewHash) {
theLogger.severe("Can't find project " + project.getProjectName()
+ " review file for comment " + comment.getId());
continue;
}
reviewHash.put(comment.getId(), comment);