Remove unused method to create change notes based on index lookup

`ChangeNotes.createUsingIndexLookup` method should only be used when
project name and numeric change Id are not available. Currently this
method is not used anymore and it can be safely removed.

Bug: Issue 318396515
Release-Notes: skip
Forward-Compatible: checked
Change-Id: Ia4234edefbdb9e75b27ede3f5b47e9fc119dc272
diff --git a/java/com/google/gerrit/server/notedb/ChangeNotes.java b/java/com/google/gerrit/server/notedb/ChangeNotes.java
index a2c9c2f..97d65be 100644
--- a/java/com/google/gerrit/server/notedb/ChangeNotes.java
+++ b/java/com/google/gerrit/server/notedb/ChangeNotes.java
@@ -214,23 +214,6 @@
       return changes.get(0).notes();
     }
 
-    /**
-     * Create change notes based on a list of {@link com.google.gerrit.entities.Change.Id}s. This
-     * requires using the Change index and should only be used when {@link
-     * com.google.gerrit.entities.Project.NameKey} and the numeric change ID are not available.
-     */
-    public List<ChangeNotes> createUsingIndexLookup(Collection<Change.Id> changeIds) {
-      List<ChangeNotes> notes = new ArrayList<>();
-      for (Change.Id changeId : changeIds) {
-        try {
-          notes.add(createCheckedUsingIndexLookup(changeId));
-        } catch (NoSuchChangeException e) {
-          // Ignore missing changes to match Access#get(Iterable) behavior.
-        }
-      }
-      return notes;
-    }
-
     public List<ChangeNotes> create(
         Repository repo,
         Project.NameKey project,