CoreConfigManager.java:
Increased redability by extracting methods and using static imports.

git-svn-id: https://svn.forgerock.org/opendj/branches/opendj3-server-dev@11188 41b1ffd8-f28e-4786-ab96-9950f0a78031
Add back missing import

git-svn-id: https://svn.forgerock.org/opendj/branches/opendj3-server-dev@11189 41b1ffd8-f28e-4786-ab96-9950f0a78031
Port to the DJ3 dev branch the unit-test to verify fix for OPENDJ-1586

git-svn-id: https://svn.forgerock.org/opendj/branches/opendj3-server-dev@11191 41b1ffd8-f28e-4786-ab96-9950f0a78031
Big code cleanup of ReplicationCliMain


ReplicationCliMain.java:
Fixed a bug in askForAdministratorPwd() introduced by r10542.
Used early exits + inverted equals().
Removed printPurgeHistoricalEquivalentIfRequired(), replaced by mustPrintCommandBuilder() + printNewCommandBuilder().
Changed printCommandBuilder() into printNewCommandBuilder()
Extracted several createAdministrativeContext() methods.
Extracted methods checkSuffixesForPurgeHistorical(), containsDN(), askConfirmation(LocalizableMessage, boolean), createStandalone(), getAllReplicationServers(), getPropertiesToCompare(), equals(), exists(), findReplicated(),
Renamed exists() and exists2() to containsIgnoreCase() + find() to findIgnoreCase().
Extracted EMPTY_MSG constant.

TopologyCache.java:
Code cleanup.

ConnectionUtils.java:
Removed isCertificateException(), duplicated with com.forgerock.opendj.cli.Utils.isCertificateException() + updated client code to use the latter.

DisableReplicationUserData.java:
Now extends MonoServerReplicationUserData.
Removed duplicate fields and methods.

git-svn-id: https://svn.forgerock.org/opendj/branches/opendj3-server-dev@11192 41b1ffd8-f28e-4786-ab96-9950f0a78031
Removed duplicate methods between org.opends.quicksetup.util.Utils and com.forgerock.opendj.cli.Utils.
Code cleanup.

git-svn-id: https://svn.forgerock.org/opendj/branches/opendj3-server-dev@11193 41b1ffd8-f28e-4786-ab96-9950f0a78031