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

jvergara
08.11.2009 e9957ba7e0339b95f6e4d0ace1fa929861aff813
Fix broken unit tests.
1 files modified
8 ■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/tasks/LdifFileWriter.java 8 ●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/tasks/LdifFileWriter.java
@@ -22,15 +22,15 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 */
package org.opends.server.tasks;
import org.opends.server.tools.makeldif.EntryWriter;
import org.opends.server.tools.makeldif.MakeLDIFException;
import org.opends.server.tools.makeldif.TemplateEntry;
import org.opends.server.tools.makeldif.TemplateFile;
import org.opends.server.types.Entry;
import org.opends.server.types.InitializationException;
import org.opends.server.types.LDIFExportConfig;
import org.opends.server.types.ExistingFileBehavior;
@@ -130,12 +130,12 @@
  /**
   * {@inheritDoc}
   */
  public boolean writeEntry(Entry entry)
  public boolean writeEntry(TemplateEntry entry)
       throws IOException, MakeLDIFException
  {
    try
    {
      return ldifWriter.writeEntry(entry);
      return ldifWriter.writeTemplateEntry(entry);
    } catch (LDIFException e)
    {
      e.printStackTrace();