directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1771880 [1/8] - in /directory/shared/trunk: integ/src/test/java/org/apache/directory/api/ldap/entry/ ldap/model/src/main/java/org/apache/directory/api/ldap/model/cursor/ ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/ l...
Date Tue, 29 Nov 2016 10:48:28 GMT
Author: elecharny
Date: Tue Nov 29 10:48:26 2016
New Revision: 1771880

URL: http://svn.apache.org/viewvc?rev=1771880&view=rev
Log:
Fixed SonarLint warnings

Modified:
    directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/entry/SchemaAwareAttributeTest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/cursor/CursorIterator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/Attribute.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultEntry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultModification.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/Entry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/ImmutableEntry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/ModificationOperation.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/StringValue.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/AbstractLdapReferralException.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapConfigurationException.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapOperationException.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapReferralException.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapUriException.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/AbstractExprNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/AndNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/ApproximateNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/AssertionNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/BranchNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/BranchNormalizedVisitor.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/EqualityNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/ExprNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/ExtensibleNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/FilterEncoder.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/FilterParser.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/GreaterEqNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/LeafNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/LessEqNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/NotNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/ObjectClassNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/OrNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/PresenceNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/ScopeNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/SimpleNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/SubstringNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/UndefinedNode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifAttributesReader.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifControl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifEntry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifReader.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifRevertor.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/LdifUtils.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/anonymizer/AbstractAnonymizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/anonymizer/BinaryAnonymizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/anonymizer/CaseSensitiveStringAnonymizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/anonymizer/IntegerAnonymizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/ldif/anonymizer/StringAnonymizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbandonRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractAbandonableRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractExtendedRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractMessage.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractResultResponse.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AddRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AddRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AddResponseImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AliasDerefMode.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindResponseImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/CompareRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/CompareRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/CompareResponseImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/DeleteRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/DeleteRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/DeleteResponseImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ExtendedRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ExtendedRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ExtendedResponseImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/IntermediateResponseImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/LdapResultImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyDnRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyDnRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyDnResponseImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyResponseImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ReferralImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ResultCodeEnum.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchParams.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchResultDoneImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchResultEntryImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchResultReferenceImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchScope.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/UnbindRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/UnbindRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/controls/AbstractControl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/controls/ChangeType.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/controls/EntryChangeImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/controls/PagedResultsImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/controls/PersistentSearchImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/controls/ProxiedAuthzImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/controls/SortKey.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/controls/SortRequestControlImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/controls/SortResponseControlImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/controls/SubentriesImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/extended/ExtendedNoDResponse.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/extended/NoticeOfDisconnect.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/name/Ava.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/name/Dn.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/name/DnUtils.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/name/Rdn.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/password/PasswordUtil.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AbstractSchemaObject.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AttributeType.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AttributeTypeOptions.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/AttributesFactory.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/DescriptionUtils.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/DitContentRule.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/DitStructureRule.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/LdapSyntax.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/LoadableSchemaObject.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/MatchingRule.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/MatchingRuleUse.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/MutableAttributeType.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/MutableMatchingRule.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/MutableObjectClass.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/NameForm.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/ObjectClass.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/PrepareString.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/SchemaObject.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/SchemaObjectRenderer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/SchemaObjectSorter.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/SchemaObjectType.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/SchemaObjectWrapper.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/SchemaUtils.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/UsageEnum.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/BitStringComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/BooleanComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/CsnComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/CsnSidComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/DeepTrimCachingNormalizingComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/DeepTrimToLowerCachingNormalizingComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/DnComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/GeneralizedTimeComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/IntegerComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/NumericStringComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/ObjectClassTypeComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/ObjectIdentifierComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/SerializableComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/StringComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/TelephoneNumberComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/UniqueMemberComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/comparators/UuidComparator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/BooleanNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/CachingDnNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/CachingNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/ConcreteNameComponentNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/DeepTrimNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/DeepTrimToLowerNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/DefaultStringNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/DnNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/GeneralizedTimeNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/NameOrNumericIdNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/NoOpNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/NumericNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/ObjectIdentifierNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/OidNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/RegexNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/TelephoneNumberNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/UniqueMemberNormalizer.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/AbstractSchemaParser.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/ConsoleParserMonitor.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/LdapComparatorDescription.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/NormalizerDescription.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/OpenLdapSchemaParser.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/ParserMonitorAdapter.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/SyntaxCheckerDescription.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/AbstractSchemaLoader.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/AttributeTypeRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ComparatorRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultAttributeTypeRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultComparatorRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultDitContentRuleRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultDitStructureRuleRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultLdapSyntaxRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultMatchingRuleRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultMatchingRuleUseRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultNameFormRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultNormalizerRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultObjectClassRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSchema.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSchemaObjectRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DefaultSyntaxCheckerRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DitContentRuleRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/DitStructureRuleRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableAttributeTypeRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableComparatorRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableDitContentRuleRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableDitStructureRuleRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableLdapSyntaxRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableMatchingRuleRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableMatchingRuleUseRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableNameFormRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableNormalizerRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableObjectClassRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ImmutableSyntaxCheckerRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/LdapSyntaxRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/MatchingRuleRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/MatchingRuleUseRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/NameFormRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/NormalizerRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/ObjectClassRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/OidRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/Registries.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/SyntaxCheckerRegistry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/registries/helper/AttributeTypeHelper.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/AccessPointSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/AttributeTypeDescriptionSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/AttributeTypeUsageSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/AudioSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/BinarySyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/BitStringSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/BooleanSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/CertificateListSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/CertificatePairSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/CertificateSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/CountrySyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/CsnSidSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/CsnSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/DataQualitySyntaxSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/DeliveryMethodSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/DerefAliasSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/DirectoryStringSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/DitContentRuleDescriptionSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/DitStructureRuleDescriptionSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/DlSubmitPermissionSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/DnSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/DsaQualitySyntaxSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/DseTypeSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/EnhancedGuideSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/FacsimileTelephoneNumberSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/FaxSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/GeneralizedTimeSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/GuideSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/Ia5StringSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/IntegerSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/JavaByteSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/JavaIntegerSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/JavaLongSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/JavaShortSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/JpegSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/LdapSyntaxDescriptionSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/MailPreferenceSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/MasterAndShadowAccessPointSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/MatchingRuleDescriptionSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/MatchingRuleUseDescriptionSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/MhsOrAddressSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/NameAndOptionalUIDSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/NameFormDescriptionSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/NumberSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/NumericOidSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/NumericStringSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/ObjectClassDescriptionSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/ObjectClassTypeSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/ObjectNameSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/OctetStringSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/OidLenSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/OidSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/OpenLdapObjectIdentifierMacro.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/OtherMailboxSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/PostalAddressSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/PresentationAddressSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/PrintableStringSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/ProtocolInformationSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/RegexSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/SearchScopeSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/SubstringAssertionSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/SubtreeSpecificationSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/SupplierAndConsumerSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/SupplierInformationSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/SupplierOrConsumerSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/SupportedAlgorithmSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/TelephoneNumberSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/TeletexTerminalIdentifierSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/TelexNumberSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/UtcTimeSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/syntaxCheckers/UuidSyntaxChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/AndRefinement.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/BaseSubtreeSpecification.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/ItemRefinement.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/NotRefinement.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/OrRefinement.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/Subentry.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/SubtreeSpecificationChecker.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/SubtreeSpecificationModifier.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/subtree/SubtreeSpecificationParser.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/url/LdapUrl.java
    directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/schema/SchemaUtilsTest.java

Modified: directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/entry/SchemaAwareAttributeTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/entry/SchemaAwareAttributeTest.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/entry/SchemaAwareAttributeTest.java (original)
+++ directory/shared/trunk/integ/src/test/java/org/apache/directory/api/ldap/entry/SchemaAwareAttributeTest.java Tue Nov 29 10:48:26 2016
@@ -48,7 +48,6 @@ import org.apache.directory.api.ldap.mod
 import org.apache.directory.api.ldap.model.schema.AttributeType;
 import org.apache.directory.api.ldap.model.schema.SchemaManager;
 import org.apache.directory.api.ldap.schema.manager.impl.DefaultSchemaManager;
-import org.apache.directory.api.util.StringConstants;
 import org.apache.directory.api.util.Strings;
 import org.junit.Before;
 import org.junit.BeforeClass;

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/cursor/CursorIterator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/cursor/CursorIterator.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/cursor/CursorIterator.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/cursor/CursorIterator.java Tue Nov 29 10:48:26 2016
@@ -79,6 +79,7 @@ public class CursorIterator<E> implement
         {
             E element = cursor.get();
             available = cursor.next();
+            
             return element;
         }
         catch ( Exception e )

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/Attribute.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/Attribute.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/Attribute.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/Attribute.java Tue Nov 29 10:48:26 2016
@@ -378,7 +378,7 @@ public interface Attribute extends Itera
      * @throws IllegalArgumentException If the ID is empty or null or
      * resolve to an empty value after being trimmed
      */
-    void setUpId( String upId ) throws IllegalArgumentException;
+    void setUpId( String upId );
 
 
     /**

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultEntry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultEntry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultEntry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultEntry.java Tue Nov 29 10:48:26 2016
@@ -67,7 +67,7 @@ public final class DefaultEntry implemen
     private Dn dn;
 
     /** A map containing all the attributes for this entry */
-    private Map<String, Attribute> attributes = new HashMap<String, Attribute>();
+    private Map<String, Attribute> attributes = new HashMap<>();
 
     /** A speedup to get the ObjectClass attribute */
     private static AttributeType objectClassAttributeType;
@@ -303,7 +303,7 @@ public final class DefaultEntry implemen
         }
 
         // Init the attributes map
-        attributes = new HashMap<String, Attribute>( entry.size() );
+        attributes = new HashMap<>( entry.size() );
 
         // and copy all the attributes
         for ( Attribute attribute : entry )
@@ -351,7 +351,7 @@ public final class DefaultEntry implemen
                 if ( !( element instanceof String ) )
                 {
                     throw new LdapInvalidAttributeValueException( ResultCodeEnum.INVALID_ATTRIBUTE_SYNTAX, I18n.err(
-                        I18n.ERR_12085, ( pos + 1 ) ) );
+                        I18n.ERR_12085, pos + 1 ) );
                 }
 
                 String attribute = ( String ) element;
@@ -381,7 +381,7 @@ public final class DefaultEntry implemen
                 else
                 {
                     throw new LdapInvalidAttributeValueException( ResultCodeEnum.INVALID_ATTRIBUTE_SYNTAX, I18n.err(
-                        I18n.ERR_12086, ( pos + 1 ) ) );
+                        I18n.ERR_12086, pos + 1 ) );
                 }
 
                 valueExpected = false;
@@ -394,28 +394,13 @@ public final class DefaultEntry implemen
                 .err( I18n.ERR_12087 ) );
         }
 
-        LdifAttributesReader reader = null;
-
-        try
+        try ( LdifAttributesReader reader = new LdifAttributesReader() )
         {
-            reader = new LdifAttributesReader();
-            Entry entry = reader.parseEntry( schemaManager, sb.toString() );
-
-            return entry;
+            return reader.parseEntry( schemaManager, sb.toString() );
         }
-        finally
+        catch ( IOException e )
         {
-            try
-            {
-                if ( reader != null )
-                {
-                    reader.close();
-                }
-            }
-            catch ( IOException e )
-            {
-                e.printStackTrace();
-            }
+            throw new LdapLdifException( "Cannot read an entry" );
         }
     }
 
@@ -448,7 +433,7 @@ public final class DefaultEntry implemen
     {
         String normUpId = Strings.trim( upId );
 
-        if ( ( attributeType == null ) )
+        if ( attributeType == null )
         {
             if ( Strings.isEmpty( normUpId ) )
             {
@@ -678,6 +663,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry add( AttributeType attributeType, String... values ) throws LdapException
     {
         if ( attributeType == null )
@@ -710,6 +696,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry add( AttributeType attributeType, Value<?>... values ) throws LdapException
     {
         if ( attributeType == null )
@@ -777,6 +764,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry add( String upId, AttributeType attributeType, Value<?>... values ) throws LdapException
     {
         if ( attributeType == null )
@@ -809,6 +797,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry add( String upId, AttributeType attributeType, String... values ) throws LdapException
     {
         if ( attributeType == null )
@@ -843,6 +832,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry add( Attribute... attributes ) throws LdapException
     {
         // Loop on all the added attributes
@@ -946,6 +936,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry add( String upId, String... values ) throws LdapException
     {
         if ( Strings.isEmpty( upId ) )
@@ -990,6 +981,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry add( String upId, Value<?>... values ) throws LdapException
     {
         if ( Strings.isEmpty( upId ) )
@@ -1036,6 +1028,7 @@ public final class DefaultEntry implemen
      * the original object won't affect the cloned object, as a modification
      * on the cloned object has no impact on the original object
      */
+    @Override
     public Entry clone()
     {
         // First, clone the structure
@@ -1070,6 +1063,7 @@ public final class DefaultEntry implemen
      * Shallow clone an entry. We don't clone the Attributes
      */
     @SuppressWarnings("unchecked")
+    @Override
     public Entry shallowClone()
     {
         try
@@ -1098,6 +1092,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( Attribute... attributes )
     {
         if ( schemaManager == null )
@@ -1140,6 +1135,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean containsAttribute( String... attributes )
     {
         if ( schemaManager == null )
@@ -1181,6 +1177,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean containsAttribute( AttributeType attributeType )
     {
         if ( attributeType == null )
@@ -1218,6 +1215,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( AttributeType attributeType, String... values )
     {
         if ( attributeType == null )
@@ -1241,6 +1239,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( AttributeType attributeType, Value<?>... values )
     {
         if ( attributeType == null )
@@ -1299,6 +1298,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( String upId, String... values )
     {
         if ( Strings.isEmpty( upId ) )
@@ -1334,6 +1334,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( String upId, Value<?>... values )
     {
         if ( Strings.isEmpty( upId ) )
@@ -1369,6 +1370,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute get( String alias )
     {
         try
@@ -1406,6 +1408,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute get( AttributeType attributeType )
     {
         if ( attributeType != null )
@@ -1422,6 +1425,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Collection<Attribute> getAttributes()
     {
         return Collections.unmodifiableMap( attributes ).values();
@@ -1470,6 +1474,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute put( String upId, String... values )
     {
         if ( Strings.isEmpty( upId ) )
@@ -1509,6 +1514,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute put( String upId, Value<?>... values )
     {
         if ( Strings.isEmpty( upId ) )
@@ -1548,10 +1554,11 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Attribute> put( Attribute... attributes ) throws LdapException
     {
         // First, get the existing attributes
-        List<Attribute> previous = new ArrayList<Attribute>();
+        List<Attribute> previous = new ArrayList<>();
 
         if ( schemaManager == null )
         {
@@ -1613,6 +1620,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute put( AttributeType attributeType, String... values ) throws LdapException
     {
         return put( null, attributeType, values );
@@ -1622,6 +1630,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute put( AttributeType attributeType, Value<?>... values ) throws LdapException
     {
         return put( null, attributeType, values );
@@ -1681,6 +1690,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute put( String upId, AttributeType attributeType, String... values ) throws LdapException
     {
         if ( attributeType == null )
@@ -1724,6 +1734,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute put( String upId, AttributeType attributeType, Value<?>... values ) throws LdapException
     {
         if ( attributeType == null )
@@ -1767,9 +1778,10 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Attribute> remove( Attribute... attributes ) throws LdapException
     {
-        List<Attribute> removedAttributes = new ArrayList<Attribute>();
+        List<Attribute> removedAttributes = new ArrayList<>();
 
         if ( schemaManager == null )
         {
@@ -1853,6 +1865,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean remove( AttributeType attributeType, String... values ) throws LdapException
     {
         if ( attributeType == null )
@@ -1896,6 +1909,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean remove( AttributeType attributeType, Value<?>... values ) throws LdapException
     {
         if ( attributeType == null )
@@ -1950,6 +1964,7 @@ public final class DefaultEntry implemen
      *
      * @param attributes the AttributeTypes to be removed
      */
+    @Override
     public void removeAttributes( AttributeType... attributes )
     {
         if ( ( attributes == null ) || ( attributes.length == 0 ) || ( schemaManager == null ) )
@@ -1972,6 +1987,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public void removeAttributes( String... attributes )
     {
         if ( attributes.length == 0 )
@@ -2121,6 +2137,7 @@ public final class DefaultEntry implemen
      * @return <code>true</code> if at least a value is removed, <code>false</code>
      * if not all the values have been removed or if the attribute does not exist.
      */
+    @Override
     public boolean remove( String upId, String... values ) throws LdapException
     {
         if ( Strings.isEmpty( upId ) )
@@ -2200,6 +2217,7 @@ public final class DefaultEntry implemen
      * @return <code>true</code> if at least a value is removed, <code>false</code>
      * if not all the values have been removed or if the attribute does not exist.
      */
+    @Override
     public boolean remove( String upId, Value<?>... values ) throws LdapException
     {
         if ( Strings.isEmpty( upId ) )
@@ -2263,6 +2281,7 @@ public final class DefaultEntry implemen
      *
      * @return The entry's Dn
      */
+    @Override
     public Dn getDn()
     {
         return dn;
@@ -2272,6 +2291,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public void setDn( Dn dn )
     {
         this.dn = dn;
@@ -2284,6 +2304,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public void setDn( String dn ) throws LdapInvalidDnException
     {
         setDn( new Dn( dn ) );
@@ -2293,6 +2314,7 @@ public final class DefaultEntry implemen
     /**
      * Remove all the attributes for this entry. The Dn is not reset
      */
+    @Override
     public void clear()
     {
         attributes.clear();
@@ -2306,6 +2328,7 @@ public final class DefaultEntry implemen
      *
      * @return an enumeration of all contained attributes
      */
+    @Override
     public Iterator<Attribute> iterator()
     {
         return Collections.unmodifiableMap( attributes ).values().iterator();
@@ -2317,6 +2340,7 @@ public final class DefaultEntry implemen
      *
      * @return the number of attributes
      */
+    @Override
     public int size()
     {
         return attributes.size();
@@ -2342,6 +2366,7 @@ public final class DefaultEntry implemen
      * 
      * {@inheritDoc}
      */
+    @Override
     public void writeExternal( ObjectOutput out ) throws IOException
     {
         // First, the Dn
@@ -2374,6 +2399,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException
     {
         // Read the Dn
@@ -2421,6 +2447,7 @@ public final class DefaultEntry implemen
      * @see java.lang.Object#hashCode()
      * @return the instance's hash code
      */
+    @Override
     public int hashCode()
     {
         if ( h == 0 )
@@ -2435,6 +2462,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean hasObjectClass( String... objectClasses )
     {
         if ( ( objectClasses == null ) || ( objectClasses.length == 0 ) || ( objectClasses[0] == null ) )
@@ -2467,6 +2495,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean hasObjectClass( Attribute... objectClasses )
     {
         if ( ( objectClasses == null ) || ( objectClasses.length == 0 ) || ( objectClasses[0] == null ) )
@@ -2507,6 +2536,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean isSchemaAware()
     {
         return schemaManager != null;
@@ -2516,6 +2546,7 @@ public final class DefaultEntry implemen
     /**
      * @see Object#equals(Object)
      */
+    @Override
     public boolean equals( Object o )
     {
         // Short circuit
@@ -2569,6 +2600,7 @@ public final class DefaultEntry implemen
     /**
      * @see Object#toString()
      */
+    @Override
     public String toString()
     {
         return toString( "" );
@@ -2578,6 +2610,7 @@ public final class DefaultEntry implemen
     /**
      * {@inheritDoc}
      */
+    @Override
     public String toString( String tabs )
     {
         StringBuilder sb = new StringBuilder();

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultModification.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultModification.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultModification.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/DefaultModification.java Tue Nov 29 10:48:26 2016
@@ -227,6 +227,7 @@ public class DefaultModification impleme
     /**
      * {@inheritDoc}
      */
+    @Override
     public ModificationOperation getOperation()
     {
         return operation;
@@ -236,6 +237,7 @@ public class DefaultModification impleme
     /**
      * {@inheritDoc}
      */
+    @Override
     public void setOperation( int operation )
     {
         this.operation = ModificationOperation.getOperation( operation );
@@ -245,6 +247,7 @@ public class DefaultModification impleme
     /**
      * {@inheritDoc}
      */
+    @Override
     public void setOperation( ModificationOperation operation )
     {
         this.operation = operation;
@@ -254,6 +257,7 @@ public class DefaultModification impleme
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute getAttribute()
     {
         return attribute;
@@ -263,6 +267,7 @@ public class DefaultModification impleme
     /**
      * {@inheritDoc}
      */
+    @Override
     public void setAttribute( Attribute attribute )
     {
         this.attribute = attribute;
@@ -272,6 +277,7 @@ public class DefaultModification impleme
     /**
      * {@inheritDoc}
      */
+    @Override
     public void apply( AttributeType attributeType ) throws LdapInvalidAttributeValueException
     {
         this.attributeType = attributeType;
@@ -296,6 +302,7 @@ public class DefaultModification impleme
      * @see Object#equals(Object)
      * @return <code>true</code> if both values are equal
      */
+    @Override
     public boolean equals( Object that )
     {
         // Basic equals checks
@@ -331,6 +338,7 @@ public class DefaultModification impleme
      * Compute the modification @see Object#hashCode
      * @return the instance's hash code 
      */
+    @Override
     public int hashCode()
     {
         int h = 37;
@@ -345,6 +353,7 @@ public class DefaultModification impleme
     /**
      * @see java.io.Externalizable#readExternal(ObjectInput)
      */
+    @Override
     public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException
     {
         // The operation
@@ -364,6 +373,7 @@ public class DefaultModification impleme
     /**
      * @see java.io.Externalizable#writeExternal(ObjectOutput)
      */
+    @Override
     public void writeExternal( ObjectOutput out ) throws IOException
     {
         // The operation
@@ -387,6 +397,7 @@ public class DefaultModification impleme
     /**
      * {@inheritDoc}
      */
+    @Override
     public DefaultModification clone()
     {
         try
@@ -406,6 +417,7 @@ public class DefaultModification impleme
     /**
      * @see Object#toString()
      */
+    @Override
     public String toString()
     {
         StringBuilder sb = new StringBuilder();

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/Entry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/Entry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/Entry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/Entry.java Tue Nov 29 10:48:26 2016
@@ -150,6 +150,7 @@ public interface Entry extends Cloneable
      *
      * @return an iterator on top of all contained attributes
      */
+    @Override
     Iterator<Attribute> iterator();
 
 

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/ImmutableEntry.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/ImmutableEntry.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/ImmutableEntry.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/ImmutableEntry.java Tue Nov 29 10:48:26 2016
@@ -82,6 +82,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry add( AttributeType attributeType, String... values ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -92,6 +93,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry add( AttributeType attributeType, Value<?>... values ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -112,6 +114,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry add( String upId, AttributeType attributeType, Value<?>... values ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -122,6 +125,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry add( String upId, AttributeType attributeType, String... values ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -132,6 +136,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry add( Attribute... attributes ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -152,6 +157,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry add( String upId, String... values ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -162,6 +168,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry add( String upId, Value<?>... values ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -174,6 +181,7 @@ public class ImmutableEntry implements E
      * the original object won't affect the cloned object, as a modification
      * on the cloned object has no impact on the original object
      */
+    @Override
     public Entry clone()
     {
         return entry.clone();
@@ -183,6 +191,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Entry shallowClone()
     {
         return entry.shallowClone();
@@ -192,6 +201,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( Attribute... attributes )
     {
         return entry.contains( attributes );
@@ -201,6 +211,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean containsAttribute( String... attributes )
     {
         return entry.containsAttribute( attributes );
@@ -210,6 +221,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean containsAttribute( AttributeType attributeType )
     {
         return entry.containsAttribute( attributeType );
@@ -228,6 +240,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( AttributeType attributeType, String... values )
     {
         return entry.contains( attributeType, values );
@@ -237,6 +250,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( AttributeType attributeType, Value<?>... values )
     {
         return entry.contains( attributeType, values );
@@ -255,6 +269,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( String upId, String... values )
     {
         return entry.contains( upId, values );
@@ -264,6 +279,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean contains( String upId, Value<?>... values )
     {
         return entry.contains( upId, values );
@@ -273,6 +289,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute get( String alias )
     {
         return entry.get( alias );
@@ -282,6 +299,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute get( AttributeType attributeType )
     {
         return entry.get( attributeType );
@@ -291,6 +309,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Collection<Attribute> getAttributes()
     {
         return entry.getAttributes();
@@ -310,6 +329,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute put( String upId, String... values )
     {
         new Exception().printStackTrace();
@@ -320,6 +340,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute put( String upId, Value<?>... values )
     {
         new Exception().printStackTrace();
@@ -330,6 +351,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Attribute> put( Attribute... attributes ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -350,6 +372,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute put( AttributeType attributeType, String... values ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -360,6 +383,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute put( AttributeType attributeType, Value<?>... values ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -380,6 +404,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute put( String upId, AttributeType attributeType, String... values ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -390,6 +415,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public Attribute put( String upId, AttributeType attributeType, Value<?>... values ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -400,6 +426,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public List<Attribute> remove( Attribute... attributes ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -420,6 +447,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean remove( AttributeType attributeType, String... values ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -430,6 +458,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean remove( AttributeType attributeType, Value<?>... values ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -451,6 +480,7 @@ public class ImmutableEntry implements E
      *
      * @param attributes the AttributeTypes to be removed
      */
+    @Override
     public void removeAttributes( AttributeType... attributes )
     {
         new Exception().printStackTrace();
@@ -461,6 +491,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public void removeAttributes( String... attributes )
     {
         new Exception().printStackTrace();
@@ -517,6 +548,7 @@ public class ImmutableEntry implements E
      * @return <code>true</code> if at least a value is removed, <code>false</code>
      * if not all the values have been removed or if the attribute does not exist. 
      */
+    @Override
     public boolean remove( String upId, String... values ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -545,6 +577,7 @@ public class ImmutableEntry implements E
      * @return <code>true</code> if at least a value is removed, <code>false</code>
      * if not all the values have been removed or if the attribute does not exist. 
      */
+    @Override
     public boolean remove( String upId, Value<?>... values ) throws LdapException
     {
         new Exception().printStackTrace();
@@ -557,6 +590,7 @@ public class ImmutableEntry implements E
      *
      * @return The entry's Dn
      */
+    @Override
     public Dn getDn()
     {
         return entry.getDn();
@@ -566,6 +600,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public void setDn( Dn dn )
     {
         new Exception().printStackTrace();
@@ -576,6 +611,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public void setDn( String dn ) throws LdapInvalidDnException
     {
         new Exception().printStackTrace();
@@ -586,6 +622,7 @@ public class ImmutableEntry implements E
     /**
      * Remove all the attributes for this entry. The Dn is not reset
      */
+    @Override
     public void clear()
     {
         new Exception().printStackTrace();
@@ -600,6 +637,7 @@ public class ImmutableEntry implements E
      *
      * @return an enumeration of all contained attributes
      */
+    @Override
     public Iterator<Attribute> iterator()
     {
         return entry.iterator();
@@ -611,6 +649,7 @@ public class ImmutableEntry implements E
      *
      * @return the number of attributes
      */
+    @Override
     public int size()
     {
         return entry.size();
@@ -636,6 +675,7 @@ public class ImmutableEntry implements E
      * 
      * {@inheritDoc} 
      */
+    @Override
     public void writeExternal( ObjectOutput out ) throws IOException
     {
         entry.writeExternal( out );
@@ -645,6 +685,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException
     {
         new Exception().printStackTrace();
@@ -694,6 +735,7 @@ public class ImmutableEntry implements E
      * @see java.lang.Object#hashCode()
      * @return the instance's hash code 
      */
+    @Override
     public int hashCode()
     {
         return entry.hashCode();
@@ -703,6 +745,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean hasObjectClass( String... objectClasses )
     {
         return entry.hasObjectClass( objectClasses );
@@ -712,6 +755,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean hasObjectClass( Attribute... objectClasses )
     {
         return entry.hasObjectClass( objectClasses );
@@ -721,6 +765,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean isSchemaAware()
     {
         return entry.isSchemaAware();
@@ -730,6 +775,7 @@ public class ImmutableEntry implements E
     /**
      * @see Object#equals(Object)
      */
+    @Override
     public boolean equals( Object o )
     {
         return entry.equals( o );
@@ -739,6 +785,7 @@ public class ImmutableEntry implements E
     /**
      * @see Object#toString()
      */
+    @Override
     public String toString()
     {
         return entry.toString();
@@ -748,6 +795,7 @@ public class ImmutableEntry implements E
     /**
      * {@inheritDoc}
      */
+    @Override
     public String toString( String tabs )
     {
         return entry.toString( tabs );

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/ModificationOperation.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/ModificationOperation.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/ModificationOperation.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/ModificationOperation.java Tue Nov 29 10:48:26 2016
@@ -86,6 +86,7 @@ public enum ModificationOperation
     /**
      * @see Object#toString()
      */
+    @Override
     public String toString()
     {
         switch ( this )

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/StringValue.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/StringValue.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/StringValue.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/entry/StringValue.java Tue Nov 29 10:48:26 2016
@@ -145,6 +145,7 @@ public class StringValue extends Abstrac
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getValue()
     {
         // The String is immutable, we can safely return the internal
@@ -156,6 +157,7 @@ public class StringValue extends Abstrac
     /**
      * {@inheritDoc}
      */
+    @Override
     public String getNormValue()
     {
         return normalizedValue;
@@ -172,6 +174,7 @@ public class StringValue extends Abstrac
      * @throws IllegalStateException on failures to extract the comparator, or the
      * normalizers needed to perform the required comparisons based on the schema
      */
+    @Override
     public int compareTo( Value<String> value )
     {
         if ( isNull() )
@@ -239,6 +242,7 @@ public class StringValue extends Abstrac
     /**
      * {@inheritDoc}
      */
+    @Override
     public StringValue clone()
     {
         return ( StringValue ) super.clone();
@@ -252,6 +256,7 @@ public class StringValue extends Abstrac
      * @see Object#hashCode()
      * @return the instance's hashcode
      */
+    @Override
     public int hashCode()
     {
         if ( h == 0 )
@@ -288,6 +293,7 @@ public class StringValue extends Abstrac
      * 
      * @see Object#equals(Object)
      */
+    @Override
     public boolean equals( Object obj )
     {
         if ( this == obj )
@@ -459,6 +465,7 @@ public class StringValue extends Abstrac
     /**
      * {@inheritDoc}
      */
+    @Override
     public boolean isHumanReadable()
     {
         return true;
@@ -468,6 +475,7 @@ public class StringValue extends Abstrac
     /**
      * @return The length of the interned value
      */
+    @Override
     public int length()
     {
         return upValue != null ? upValue.length() : 0;
@@ -478,6 +486,7 @@ public class StringValue extends Abstrac
      * Get the user provided value as a byte[].
      * @return the user provided value as a byte[]
      */
+    @Override
     public byte[] getBytes()
     {
         return bytes;
@@ -489,6 +498,7 @@ public class StringValue extends Abstrac
      *
      * @return the user provided value as a String
      */
+    @Override
     public String getString()
     {
         return upValue != null ? upValue : "";
@@ -534,6 +544,7 @@ public class StringValue extends Abstrac
     /**
      * {@inheritDoc}
      */
+    @Override
     public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException
     {
         // Read the STRING flag
@@ -793,6 +804,7 @@ public class StringValue extends Abstrac
     /**
      * {@inheritDoc}
      */
+    @Override
     public void writeExternal( ObjectOutput out ) throws IOException
     {
         // Write a boolean for the HR flag
@@ -844,6 +856,7 @@ public class StringValue extends Abstrac
     /**
      * @see Object#toString()
      */
+    @Override
     public String toString()
     {
         return upValue == null ? "null" : upValue;

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/AbstractLdapReferralException.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/AbstractLdapReferralException.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/AbstractLdapReferralException.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/AbstractLdapReferralException.java Tue Nov 29 10:48:26 2016
@@ -20,7 +20,7 @@
 package org.apache.directory.api.ldap.model.exception;
 
 
-import java.util.Hashtable;
+import java.util.Map;
 
 import javax.naming.Context;
 import javax.naming.NamingException;
@@ -44,7 +44,7 @@ public class AbstractLdapReferralExcepti
     /** The remaining Dn */
     private Dn remainingDn;
 
-    /** TODO */
+    /** The entry the referal refers to */
     private Object resolvedObject;
 
 
@@ -65,6 +65,7 @@ public class AbstractLdapReferralExcepti
      * 
      * @return The interned ResultCode
      */
+    @Override
     public ResultCodeEnum getResultCode()
     {
         return ResultCodeEnum.REFERRAL;
@@ -77,7 +78,7 @@ public class AbstractLdapReferralExcepti
     }
 
 
-    public Context getReferralContext( Hashtable<?, ?> arg ) throws NamingException
+    public Context getReferralContext( Map<?, ?> arg ) throws NamingException
     {
         throw new NotImplementedException();
     }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapConfigurationException.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapConfigurationException.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapConfigurationException.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapConfigurationException.java Tue Nov 29 10:48:26 2016
@@ -74,6 +74,7 @@ public class LdapConfigurationException
     /**
      * @return the exception's cause
      */
+    @Override
     public Throwable getCause()
     {
         return cause;

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapOperationException.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapOperationException.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapOperationException.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapOperationException.java Tue Nov 29 10:48:26 2016
@@ -43,24 +43,6 @@ public class LdapOperationException exte
 
 
     /**
-     * @return the resolvedDn
-     */
-    public Dn getResolvedDn()
-    {
-        return resolvedDn;
-    }
-
-
-    /**
-     * @param resolvedDn the resolvedDn to set
-     */
-    public void setResolvedDn( Dn resolvedDn )
-    {
-        this.resolvedDn = resolvedDn;
-    }
-
-
-    /**
      * Creates a new instance of LdapOperationException.
      *
      * @param resultCode The operation resultCode
@@ -110,6 +92,24 @@ public class LdapOperationException exte
     }
 
 
+    /**
+     * @return the resolvedDn
+     */
+    public Dn getResolvedDn()
+    {
+        return resolvedDn;
+    }
+
+
+    /**
+     * @param resolvedDn the resolvedDn to set
+     */
+    public void setResolvedDn( Dn resolvedDn )
+    {
+        this.resolvedDn = resolvedDn;
+    }
+
+
     /**
      * Gets the LDAP result code that would be associated with this exception.
      * 

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapReferralException.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapReferralException.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapReferralException.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapReferralException.java Tue Nov 29 10:48:26 2016
@@ -22,8 +22,8 @@ package org.apache.directory.api.ldap.mo
 
 import java.util.ArrayList;
 import java.util.Collection;
-import java.util.Hashtable;
 import java.util.List;
+import java.util.Map;
 
 import javax.naming.Context;
 import javax.naming.NamingException;
@@ -53,7 +53,7 @@ public class LdapReferralException exten
     /** The remaining Dn */
     private Dn remainingDn;
 
-    /** TODO */
+    /** The Entry the referral refers to */
     private Object resolvedObject;
 
 
@@ -66,7 +66,7 @@ public class LdapReferralException exten
     public LdapReferralException( Collection<String> refs )
     {
         super( null );
-        this.refs = new ArrayList<String>( refs );
+        this.refs = new ArrayList<>( refs );
     }
 
 
@@ -80,7 +80,7 @@ public class LdapReferralException exten
     public LdapReferralException( Collection<String> refs, String explanation )
     {
         super( explanation );
-        this.refs = new ArrayList<String>( refs );
+        this.refs = new ArrayList<>( refs );
     }
 
 
@@ -89,6 +89,7 @@ public class LdapReferralException exten
      * 
      * @return The ResultCode
      */
+    @Override
     public ResultCodeEnum getResultCode()
     {
         return ResultCodeEnum.REFERRAL;
@@ -104,13 +105,15 @@ public class LdapReferralException exten
     }
 
 
+    @Override
     public Context getReferralContext() throws NamingException
     {
         throw new NotImplementedException();
     }
 
 
-    public Context getReferralContext( Hashtable<?, ?> arg ) throws NamingException
+    @Override
+    public Context getReferralContext( Map<?, ?> arg ) throws NamingException
     {
         throw new NotImplementedException();
     }
@@ -127,6 +130,7 @@ public class LdapReferralException exten
     }
 
 
+    @Override
     public void retryReferral()
     {
         throw new NotImplementedException();
@@ -136,6 +140,7 @@ public class LdapReferralException exten
     /**
      * @return the remainingDn
      */
+    @Override
     public Dn getRemainingDn()
     {
         return remainingDn;
@@ -145,6 +150,7 @@ public class LdapReferralException exten
     /**
      * @param remainingDn the remainingName to set
      */
+    @Override
     public void setRemainingDn( Dn remainingDn )
     {
         this.remainingDn = remainingDn;
@@ -154,6 +160,7 @@ public class LdapReferralException exten
     /**
      * @return the resolvedObject
      */
+    @Override
     public Object getResolvedObject()
     {
         return resolvedObject;
@@ -163,6 +170,7 @@ public class LdapReferralException exten
     /**
      * @param resolvedObject the resolvedObject to set
      */
+    @Override
     public void setResolvedObject( Object resolvedObject )
     {
         this.resolvedObject = resolvedObject;

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapUriException.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapUriException.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapUriException.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/exception/LdapUriException.java Tue Nov 29 10:48:26 2016
@@ -29,21 +29,6 @@ public class LdapUriException extends Ld
 {
     private static final long serialVersionUID = 1L;
 
-
-    /**
-     * The constructor with a reason string argument.
-     * 
-     * @param reason the reason
-     * @param cause the root cause
-     */
-    public LdapUriException( String reason, Throwable cause )
-    {
-        // for backward compatibility of Throwable
-        super( reason, cause );
-        this.reason = reason;
-        this.reasonCode = UNKNOWN;
-    }
-
     /**
      * No specified reason code.
      */
@@ -61,6 +46,21 @@ public class LdapUriException extends Ld
 
 
     /**
+     * The constructor with a reason string argument.
+     * 
+     * @param reason the reason
+     * @param cause the root cause
+     */
+    public LdapUriException( String reason, Throwable cause )
+    {
+        // for backward compatibility of Throwable
+        super( reason, cause );
+        this.reason = reason;
+        this.reasonCode = UNKNOWN;
+    }
+
+    
+    /**
      * Get the reason code.
      * 
      * @return the reason code

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/AbstractExprNode.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/AbstractExprNode.java?rev=1771880&r1=1771879&r2=1771880&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/AbstractExprNode.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/AbstractExprNode.java Tue Nov 29 10:48:26 2016
@@ -63,6 +63,7 @@ public abstract class AbstractExprNode i
      * 
      * @return the node's type
      */
+    @Override
     public AssertionType getAssertionType()
     {
         return assertionType;
@@ -73,6 +74,7 @@ public abstract class AbstractExprNode i
      * @see Object#equals(Object)
      *@return <code>true</code> if both objects are equal 
      */
+    @Override
     public boolean equals( Object o )
     {
         // Shortcut for equals object
@@ -153,7 +155,7 @@ public abstract class AbstractExprNode i
             return value;
         }
 
-        StringBuilder sb = null;
+        StringBuilder sb;
         String val;
 
         if ( !value.isHumanReadable() )
@@ -224,6 +226,7 @@ public abstract class AbstractExprNode i
      * @see Object#hashCode()
      * @return the instance's hash code 
      */
+    @Override
     public int hashCode()
     {
         int h = 37;
@@ -249,6 +252,7 @@ public abstract class AbstractExprNode i
      * 
      * @return the annotation value.
      */
+    @Override
     public Object get( Object key )
     {
         if ( null == annotations )
@@ -263,11 +267,12 @@ public abstract class AbstractExprNode i
     /**
      * @see ExprNode#set(String, java.lang.Object)
      */
+    @Override
     public void set( String key, Object value )
     {
         if ( null == annotations )
         {
-            annotations = new HashMap<String, Object>( 2 );
+            annotations = new HashMap<>( 2 );
         }
 
         annotations.put( key, value );
@@ -290,6 +295,7 @@ public abstract class AbstractExprNode i
      * 
      * @return true if the Node is SchemaAware
      */
+    @Override
     public boolean isSchemaAware()
     {
         return isSchemaAware;
@@ -303,6 +309,7 @@ public abstract class AbstractExprNode i
      * @return The buffer in which the refinement has been appended
      * @throws UnsupportedOperationException if this node isn't a part of a refinement.
      */
+    @Override
     public StringBuilder printRefinementToBuffer( StringBuilder buf )
     {
         throw new UnsupportedOperationException( I18n.err( I18n.ERR_04144 ) );
@@ -340,6 +347,7 @@ public abstract class AbstractExprNode i
     /**
      * @see Object#toString()
      */
+    @Override
     public String toString()
     {
         if ( ( null != annotations ) && annotations.containsKey( "count" ) )




Mime
View raw message