private static void skipIfNecessary(NodeIterator nodes, NodeIterator nodes2) {
    while (DuplocatorUtil.shouldSkip(nodes2.current(), nodes.current())) {
      nodes2.advance();
    }
  }
private static void skipIfNecessary(NodeIterator nodes, NodeIterator nodes2)