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

Jean-Noel Rouvignac
06.45.2013 618c273af7afb9f3a32cde83270d867911bd3806
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, August 6, 2013 15:45 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, August 6, 2013 15:45 +0200
commit618c273af7afb9f3a32cde83270d867911bd3806
tree 901c59b0bd5348f2755863d68260cade3532f982 tree | zip | gz
parent 8e0835e121fcd82e7cd56152853888c01e469c47 view | diff
ECLServerHandler.java:
In getNextECLUpdate():
- used local variables for the oldestChange to ease readability
- removed if (searchPhase == INIT_PHASE) in the while loop
- removed the suffix local variable in favour of reading on the ECLUpdateMsg object
- extracted method assignDraftCN()
Renamed storeNewChange() to assignNewDraftCNAndStore() and removed all parameters but the ECLUpdateMsg parameter.

DraftCNDbHandler.java:
Used isEmpty() in the class.
2 files modified
352 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/server/DraftCNDbHandler.java 14 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ECLServerHandler.java 338 ●●●● diff | view | raw | blame | history