From 0798254b35ac4c8cf7e3e25f2b83f3e85c1c9733 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 09 Oct 2015 07:25:16 +0000
Subject: [PATCH] Fixed typos
---
opendj-server-legacy/src/test/java/org/opends/server/replication/ReSyncTest.java | 26 ++++++++++----------------
opendj-server-legacy/src/messages/org/opends/messages/quickSetup.properties | 2 +-
2 files changed, 11 insertions(+), 17 deletions(-)
diff --git a/opendj-server-legacy/src/messages/org/opends/messages/quickSetup.properties b/opendj-server-legacy/src/messages/org/opends/messages/quickSetup.properties
index 4ff51c8..affe192 100644
--- a/opendj-server-legacy/src/messages/org/opends/messages/quickSetup.properties
+++ b/opendj-server-legacy/src/messages/org/opends/messages/quickSetup.properties
@@ -352,7 +352,7 @@
INFO_ERROR_STARTING_SERVER_CODE=Error Starting Directory Server. Error code: \
%s.
INFO_ERROR_STARTING_SERVER_IN_UNIX=Could not connect to the server after \
- after requesting start. Verify that the server has access rights to port %s.
+ requesting start. Verify that the server has access rights to port %s.
INFO_ERROR_STARTING_SERVER_IN_WINDOWS=Could not connect to the server after \
requesting start. If you have a firewall configured check that it allows \
connections to port %s.
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/replication/ReSyncTest.java b/opendj-server-legacy/src/test/java/org/opends/server/replication/ReSyncTest.java
index d2d0b3a..847beb4 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/replication/ReSyncTest.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/replication/ReSyncTest.java
@@ -26,25 +26,23 @@
*/
package org.opends.server.replication;
+import static org.testng.Assert.*;
+
import java.io.File;
import java.util.UUID;
import org.forgerock.i18n.LocalizableMessage;
+import org.forgerock.i18n.slf4j.LocalizedLogger;
+import org.forgerock.opendj.ldap.ResultCode;
import org.opends.server.TestCaseUtils;
import org.opends.server.core.AddOperation;
-import org.forgerock.i18n.slf4j.LocalizedLogger;
import org.opends.server.types.DN;
import org.opends.server.types.Entry;
-import org.forgerock.opendj.ldap.ResultCode;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
-import static org.testng.Assert.*;
-
-/**
- * Test re-synchronization after after backup/restore and LDIF import.
- */
+/** Test re-synchronization after backup/restore and LDIF import. */
@SuppressWarnings("javadoc")
public class ReSyncTest extends ReplicationTestCase
{
@@ -134,7 +132,7 @@
}
/**
- * Test re-synchronization after after backup/restore:
+ * Test re-synchronization after backup/restore:
* <ol>
* <li>Backup the server</li>
* <li>ADD an entry</li>
@@ -145,8 +143,7 @@
@Test(enabled=true, groups="slow")
public void testResyncAfterRestore() throws Exception
{
- // Delete the entry we are going to use to make sure that
- // we do test something.
+ // Delete the entry we are going to use to make sure that we do test something.
DN entryDN = DN.valueOf("dc=fooUniqueName1," + EXAMPLE_DN);
connection.processDelete(entryDN);
@@ -181,7 +178,7 @@
}
/**
- * Test re-synchronization after after backup/restore:
+ * Test re-synchronization after backup/restore:
* <ol>
* <li>Do an export to a LDIF file</li>
* <li>Add an entry</li>
@@ -192,8 +189,7 @@
@Test(enabled=true, groups="slow")
public void testResyncAfterImport() throws Exception
{
- // delete the entry we are going to use to make sure that
- // we do test something.
+ // delete the entry we are going to use to make sure that we do test something.
DN entryDN = DN.valueOf("dc=fooUniqueName2," + EXAMPLE_DN);
connection.processDelete(entryDN);
@@ -227,9 +223,7 @@
"The Directory has not been resynchronized after the restore.");
}
- /**
- * Clean up the environment.
- */
+ /** Clean up the environment. */
@AfterClass
@Override
public void classCleanUp() throws Exception
--
Gitblit v1.10.0