Remove unused code Pair.java