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

Jean-Noel Rouvignac
08.48.2015 a89f7014aeb71dba5c94404dfea7eb89e7eeee74
opendj-server-legacy/src/test/java/org/opends/server/plugins/ShortCircuitPlugin.java
@@ -666,16 +666,13 @@
  public static List<Control> createShortCircuitControlList(int resultCode,
                                                            String section)
  {
    ArrayList<Control> controlList = new ArrayList<Control>(1);
    ArrayList<Control> controlList = new ArrayList<>(1);
    controlList.add(createShortCircuitControl(resultCode, section));
    return controlList;
  }
  /**
   * Registered short circuits for operations regardless of controls.
   */
  private static Map<String,Integer> shortCircuits =
       new ConcurrentHashMap<String, Integer>();
  /** Registered short circuits for operations regardless of controls. */
  private static Map<String, Integer> shortCircuits = new ConcurrentHashMap<>();
  /**
   * Register a short circuit for the given operation type and plugin point.