mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
07.12.2015 90a6ab6c63699343acf3adcd4346bce2f5665bdd
opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/Index.java
@@ -589,7 +589,7 @@
      DatabaseEntry data = new DatabaseEntry();
      DatabaseEntry key;
      ArrayList<EntryIDSet> lists = new ArrayList<EntryIDSet>();
      ArrayList<EntryIDSet> lists = new ArrayList<>();
      Cursor cursor = openCursor(null, CursorConfig.READ_COMMITTED);
      try
@@ -736,7 +736,7 @@
                          List<Modification> mods)
      throws DatabaseException
  {
    final Map<ByteString, Boolean> modifiedKeys = new TreeMap<ByteString, Boolean>(indexer.getBSComparator());
    final Map<ByteString, Boolean> modifiedKeys = new TreeMap<>(indexer.getBSComparator());
    indexer.modifyEntry(oldEntry, newEntry, mods, modifiedKeys);
    for (Map.Entry<ByteString, Boolean> modifiedKey : modifiedKeys.entrySet())