log.debug("old marker line number: " + oldLineNumber.intValue());
log.debug("new marker line number: " + newLineNumber.intValue());
isReviewMarker = true;
String reviewIssueKey = ReviewMarker.ATTRIBUTE_REVIEW_ISSUE;
String reviewIssueId = (String) marker.getAttribute(reviewIssueKey);
ReviewIssueModel model = ReviewIssueModelManager.getInstance().getCurrentModel();
ReviewIssue savingReviewIssue = model.get(reviewIssueId);
savingReviewIssue.setLine(newLineNumber.intValue() + "");
}
if (isReviewMarker) {
log.debug("review marker was moved along with resource change.");
ReviewIssueModelManager reviewIssueModelManager = ReviewIssueModelManager.getInstance();
ReviewIssueModel reviewIssueModel = reviewIssueModelManager.getCurrentModel();
reviewIssueModel.notifyListeners(ReviewIssueModelEvent.EDIT);
}
return true; // visit the children
}