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

Jean-Noel Rouvignac
08.48.2015 a89f7014aeb71dba5c94404dfea7eb89e7eeee74
opendj-server-legacy/src/test/java/org/opends/server/TestTextWriter.java
@@ -39,7 +39,7 @@
  public TestTextWriter()
  {
    messageList = new LinkedList<String>();
    messageList = new LinkedList<>();
  }
  public synchronized void writeRecord(String record)
@@ -76,18 +76,12 @@
   */
  public synchronized List<String> getMessages()
  {
      return new ArrayList<String>(messageList);
    return new ArrayList<>(messageList);
  }
  /**
   * Clears any messages currently stored by this logger.
   */
  /** Clears any messages currently stored by this logger. */
  public synchronized void clear()
  {
    messageList.clear();
  }
}