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

Jean-Noël Rouvignac
15.17.2016 17d7e4ed4a190e989e196a81fb36bc4fcc66fbac
refs
author Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, January 15, 2016 12:17 +0100
committer Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, January 29, 2016 11:07 +0100
commit17d7e4ed4a190e989e196a81fb36bc4fcc66fbac
tree 66a20ea4f5fcb3520cfa56b4b77c3061be1bcb01 tree | zip | gz
parent 7922522bc5ffbc5830f47d2937aee5d5e70a1573 view | diff
Code cleanup

VLVIndex.java:
In modifyEntry(), do not check shouldInclude() several times.
Extracted addEntry0() and removeEntry0() which do not include the shouldInclude() check.
Extracted method getLowestAttributeValue().
Moved encodeVLVKey() to avoid jumping up and down when reading the code.

EntryContainer.java:
extracted methods add*Control() and isPageFull()
2 files modified
234 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/EntryContainer.java 101 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/VLVIndex.java 133 ●●●●● diff | view | raw | blame | history