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

Jean-Noel Rouvignac
13.07.2013 50a018302949e30b53bc8de33b8b7c1146b0a371
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
commit50a018302949e30b53bc8de33b8b7c1146b0a371
tree 0e169cd0ef7095d4c5039716fd6ce9c986a94e49 tree | zip | gz
parent 87327546e05c4b92ff15b210345f0933a833fd72 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
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java 6 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ExternalChangeLogTest.java 473 ●●●● diff | view | raw | blame | history