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

lutoff
14.27.2006 ece2b466dd1a3890dd431b2e318ef1ec4583a072
SynchronizationDomain: 
Change initialization for a private var. This will prevent to have Exception in the shutdown method
1 files modified
4 ■■■■ changed files
opends/src/server/org/opends/server/synchronization/SynchronizationDomain.java 4 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/SynchronizationDomain.java
@@ -92,7 +92,8 @@
  private ChangeNumberGenerator changeNumberGenerator;
  private ChangelogBroker broker;
  private List<ListenerThread> synchroThreads;
  private List<ListenerThread> synchroThreads =
    new ArrayList<ListenerThread>();
  private SortedMap<ChangeNumber, PendingChange> pendingChanges =
    new TreeMap<ChangeNumber, PendingChange>();
  private SortedMap<ChangeNumber, UpdateMessage> waitingAckMsgs =
@@ -933,7 +934,6 @@
     * TODO : need to make number of thread configurable
     * TODO : need to handle operation dependencies
     */
    synchroThreads = new ArrayList<ListenerThread>();
    for (int i=0; i<10; i++)
    {
      ListenerThread myThread = new ListenerThread(this);