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

Jean-Noël Rouvignac
01.19.2016 e5261913ce804afae1ae81b18bba37e1b193ec73
refs
author Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, July 1, 2016 17:19 +0200
committer Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, July 1, 2016 17:19 +0200
commite5261913ce804afae1ae81b18bba37e1b193ec73
tree da94ae879d5d07525bf6ed5cb0adb9131e82aab5 tree | zip | gz
parent a12eb578b2b06f6ba9d929f4a2c7b81e13eae7cc view | diff
Code cleanup of Entry.java

Entry.java:
In removeAttribute(), extracted methods removeObjectClassAttribute() and removeNonObjectClassAttribute()
In setAttribute(), extracted methods setObjectClassAttribute() and setNonObjectClassAttribute()
Used ListIterators in for loops instead of indexes.
Extracted method containsRuleWithObjectClass().
1 files modified
369 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/types/Entry.java 369 ●●●● diff | view | raw | blame | history