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

Jean-Noel Rouvignac
13.07.2013 e3c572ea44ac45ee852f71d4c05b83d3cf27febf
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, August 13, 2013 12:07 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, August 13, 2013 12:07 +0200
commite3c572ea44ac45ee852f71d4c05b83d3cf27febf
tree 0635aa7748614929971c71a5016f11d3e2a97b01 tree | zip | gz
parent 12b2d7b91067b2f59a4fb3c1a47bee065d64826b view | diff
ExternalChangelogTest.java:
Extracted constants SERVER_ID_1 and SERVER_ID_2.
Renamed getAttributeValue() to getAttributeValueOrNull().
Extracted new getAttributeValue() from getAttributeValueOrNull(), checkValue() and checkPossibleValues().
In ECLGetEligibleCountTest(), extracted constants to better explicit the code + removed the count local variable + extracted method now()
Removed useless code blocks.

ReplicationServerDomain.java:
In getEligibleCount(), removed a useless if statement.
2 files modified
479 ■■■■ changed files
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 6 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ExternalChangeLogTest.java 473 ●●●● diff | view | raw | blame | history