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

Jean-Noel Rouvignac
27.41.2015 34065a02d2d799eedce51daac75cc6982affa662
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, April 27, 2015 11:41 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Monday, April 27, 2015 11:41 +0200
commit34065a02d2d799eedce51daac75cc6982affa662
tree b4a633924c8cd77faa2c08246b970552c4ce6c3a tree | zip | gz
parent 92f42b02a2ac9532f45937963f784cc772fd8511 view | diff
Code cleanup

Code review: Yannick Lecaillez

DefaultIndex.java:
Added Reject.ifNull() in a few places.
In importPut() and importRemove(), extracted local variable for entryIDSet.
In importRemove(), inverted if statement + improved thrown exception
In several methods used key.toHexPlusAsciiString() instead of StaticUtils.byteArrayToHexPlusAscii().
In computeEntryIDSet(), extracted nbDeleted local variable + simplified the code.
1 files modified
74 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DefaultIndex.java 74 ●●●●● diff | view | raw | blame | history