if (i > 0) {
// record comments between the previous comment and the current one that are not part
// of any comment extended range.
if ((nextOffsetLine - currEndLine) > 1) {
// check for comments between the two imports
LineComment comment = root.getAST().newLineComment();
comment.setSourceRange(currentExtendedEnd + 1, 0);
int index = Collections.binarySearch(commentList, comment, new Comparator() {
public int compare(Object o1, Object o2) {
return ((Comment) o1).getStartPosition() - ((Comment) o2).getStartPosition();
}
});