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

Jean-Noel Rouvignac
09.59.2013 bde9e3413a8ab365e441346eeabcc6dde90baff5
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, August 9, 2013 11:59 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, August 9, 2013 11:59 +0200
commitbde9e3413a8ab365e441346eeabcc6dde90baff5
tree d66e859864ecc44eb7dfc824b3c2226f181e4bd6 tree | zip | gz
parent 15cee34e0d9b3d576c7278a5a7bdf21d6c2d7900 view | diff
ReplicationDB.java:
Collapsed try/finally embedded in try/catch into single try/catch/finally statements.
Used a static import for OperationStatus.SUCCESS to help readability with if statement conditions.
In count(), moved the cursor variable inside findFirstCounterRecordAfterStartPoint() and findFirstCounterRecordBeforeStopPoint() to ease readability.
In ReplServerDBCursor ctor, removed an uneeded else statement (because of an early exit)
1 files modified
519 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationDB.java 519 ●●●● diff | view | raw | blame | history