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

Jean-Noel Rouvignac
20.22.2013 e69caed210b40d0991824abae9c9d28be8b885a4
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, August 20, 2013 15:22 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, August 20, 2013 15:22 +0200
commite69caed210b40d0991824abae9c9d28be8b885a4
tree 549516800f45472b64630272ee433b1484b9e0e9 tree | zip | gz
parent 040388001748ca07f16745171a35185ce5e373f9 view | diff
Entry.java:
Extracted methods newMapIfNull(), getUserOrOperationalAttributes(), getAttributes(), putAttributes(), removeAttributes(), addAllIfNotNull(), onlyKeepAttributesWithAllOptions(), getAttribute(), onlyKeepAttributesWithAllOptions(), addObjectClass(), hasObjectClassOrAttribute(), hasObjectClass(), containsObjectClassByName(), hashCode(), equals(), appendAttributes(), newList().
Comments to javadoc.
Used interfaces instead of concrete classes.
Collapsed if statements.
Put code on one line where possible.

LDAPReplicationDomain.java:
Extracted methods isSolveConflict(), needReconnection(), findReplicationSearchResultEntry(), isMandatoryAttribute(), isFractionalProhibited(AttributeType), canRemoveAttribute(), contains(), runAsSynchronizedOperation().
Removed useless else.
Used interfaces instead of concrete classes.
Put code on one line where possible.
Removed useless comments.
Simplified code in several places.
Collapsed if statements.
2 files modified
2648 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/LDAPReplicationDomain.java 903 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/Entry.java 1745 ●●●●● diff | view | raw | blame | history