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

Jean-Noel Rouvignac
09.59.2013 be36718d412e99be93dbb0a8775a6a57ab10eba9
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
commitbe36718d412e99be93dbb0a8775a6a57ab10eba9
tree a40c506ac78772233eaab99346d9820084047734 tree | zip | gz
parent 3426cbb921ebb0773b1be75d56966d99a745e790 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
opends/src/server/org/opends/server/replication/server/ReplicationDB.java 519 ●●●● diff | view | raw | blame | history