21 Aug, 2015
2 commits
-
Improved toString() git-svn-id: https://svn.forgerock.org/opendj/trunk@12765 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Tests methods were not properly isolated. The sequence testUpdateDeletedIDs() followed by testUpdateAddedIDs() caused the following failure: 17:42:32 T E S T F A I L U R E ! ! ! 17:42:32 17:42:32 Failed Test: org.opends.server.backends.pluggable.DefaultIndexTest#testUpdateAddedIDs 17:42:32 Failure Cause: java.lang.AssertionError: 17:42:32 Expecting: 17:42:32 <[]> 17:42:32 to contain: 17:42:32 <[1, 2, 3, 4]> 17:42:32 but could not find: 17:42:32 <[1, 2, 3, 4]> 17:42:32 17:42:32 org.opends.server.backends.pluggable.Utils.assertIdsEquals(Utils.java:39) 17:42:32 org.opends.server.backends.pluggable.Utils.assertIdsEquals(Utils.java:51) 17:42:32 org.opends.server.backends.pluggable.DefaultIndexTest.testUpdateAddedIDs(DefaultIndexTest.java:76) DefaultIndexTest.java: In setUp(), use @BeforeMethod annotation (rather than @BeforeTest) git-svn-id: https://svn.forgerock.org/opendj/trunk@12764 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Aug, 2015
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12763 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Removed indexExists, used Collection.contains() instead git-svn-id: https://svn.forgerock.org/opendj/trunk@12761 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* opendj.ldap.spi.LdapPromiseWrapper ** The method was missing since the Promise API has been changed in fru-2.0.0-SNAPSHOT git-svn-id: https://svn.forgerock.org/opendj/trunk@12760 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Rename "opendj-ldap-toolkit/src/main/assembly/bat/addrate" to "opendj-ldap-toolkit/src/main/assembly/bat/addrate.bat" git-svn-id: https://svn.forgerock.org/opendj/trunk@12759 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Aug, 2015
3 commits
-
Fixed a bug in replay_deleteMissingAttributeValue(). Renamed replayOperationSuccess() to replayOperation(). Renamed replayOperationFailure() to replayOperationSuppressMod(). git-svn-id: https://svn.forgerock.org/opendj/trunk@12758 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added unit tests for AttrHistoricalSingleT and AttrHistoricalMultiple. Renamed AttrInfoTest to AttrHistoricalMultipleTest. git-svn-id: https://svn.forgerock.org/opendj/trunk@12757 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12756 41b1ffd8-f28e-4786-ab96-9950f0a78031
18 Aug, 2015
3 commits
-
In processLocalOrNonConflictModification(), made the code more explicit + prevented double assignment *.java: Added toString(). git-svn-id: https://svn.forgerock.org/opendj/trunk@12755 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
AttrHistorical.java: In getValuesHistorical(), changed return type from Map<AttrValueHistorical, AttrValueHistorical> to Set<AttrValueHistorical> - to match the usage. AttrHistoricalMultiple.java: Consequence of the change to AttrHistorical.getValuesHistorical(). In delete(Attribute, CSN), now call delete(ByteString, CSN). In add(Attribute, CSN), now call add(ByteString, CSN). Extracted method update(CSN, AttrValueHistorical). In conflictAdd(), changed return type to void since it was never used. Removed javadoc copied from supertype + useless @inheritDoc. Reduced method's visibilities. AttrHistoricalSingle.java Consequence of the change to AttrHistorical.getValuesHistorical(). Removed javadoc copied from supertype + useless @inheritDoc. Used static import for HistAttrModificationKey.*. Extracted method getSingleValue(). EntryHistorical.java: Consequence of the change to AttrHistorical.getValuesHistorical(). Extracted method toOptionsString(). In newInstanceFromEntry(), reduced scope of variables. AttrInfoTest.java: Consequence of the change to AttrHistorical.getValuesHistorical(). git-svn-id: https://svn.forgerock.org/opendj/trunk@12754 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…th the more efficient Utils.joinAsString(StringBuilder, String, Collection). git-svn-id: https://svn.forgerock.org/opendj/trunk@12753 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Aug, 2015
9 commits
-
Removed fields duplicating the ones from CoreSchema + replaced them with the getters directly delegating to CoreSchema methods. git-svn-id: https://svn.forgerock.org/opendj/trunk@12752 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Remove class which has been moved to org.opends.server.backends.jeb git-svn-id: https://svn.forgerock.org/opendj/trunk@12751 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
In assertChangelogAttributesInRootDSE(), removed always true parameter "isECLEnabled". ReplicationTestCase.java: Code cleanup git-svn-id: https://svn.forgerock.org/opendj/trunk@12750 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12747 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12746 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fix a bug in RootDSEBackend.getRootDSE(). RootDSEBackend.java: In getRootDSE(), fix a bug with supportedAuthPWSchemes which wrongly referred to supportedSASLMechanism attribute. In addAttribute(), renamed publicNamingContextAttr parameter to attribute Used interfaces for collections rather than concrete classes. Removed useless @inheritDoc javadoc. Task.java: Extracted methods getTime(), compareTimes(), In execute(), simplified code. LDAPReplicationDomain.java, ReplicationDomainMonitorData.java: Code cleanups git-svn-id: https://svn.forgerock.org/opendj/trunk@12745 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
replication*.properties: ERR_RSQUEUE_DIFFERENT_MSGS_WITH_SAME_CN => ERR_RSQUEUE_DIFFERENT_MSGS_WITH_SAME_CSN git-svn-id: https://svn.forgerock.org/opendj/trunk@12744 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Avoid try to reading past EOF, as it generates too many exceptions unnecessarily. git-svn-id: https://svn.forgerock.org/opendj/trunk@12743 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
DN2URI.java: Do not decode DN when only the list of URIs is needed: - extracted methods decodeUrisOnly(), decode0(), decodeDN(), decodeUris() - used Map.Entry instead of Pair because it maps exactly to the role of DN2URI index (where DN is the key and List of URIs is the value). EntryContainer.java: Extracted method getNumberOfEntriesInBaseDN0() to avoid creating a sub transaction (used by RootContainer). VerifyJob.java: Used SuffixContainer constants. git-svn-id: https://svn.forgerock.org/opendj/trunk@12742 41b1ffd8-f28e-4786-ab96-9950f0a78031
14 Aug, 2015
7 commits
-
HistoricalAttributeValue.java: Added toString() for easier debugging. HistoricalAttributeValueTestCase.java: CREATED HistAttrModificationKey.java: In DELATTR, fixed a bug. In decodeKey(), simplified the code. git-svn-id: https://svn.forgerock.org/opendj/trunk@12741 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Many thanks Fabio for finding the problem!! JmxTestCase.java: In getJmxConnectionHandler(), also wait for the rmiConnector to be available before proceeding. git-svn-id: https://svn.forgerock.org/opendj/trunk@12740 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Removed setResults(), used the more complete setResponseData() instead *.java: Called AbstractOperation.setResponseData(). Removed useless @inheritDoc javadocs. Ran UCDetector Grouped relevant fields together. Cleaned up constructors. git-svn-id: https://svn.forgerock.org/opendj/trunk@12739 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
I think PasswordModifyExtendedOperation.processExtendedOperation() should call setMatchedDN() ? AbstractOperation.java: Extracted methods processOperationResult() and setResults(). PluginResult.java: Extracted PluginResult.OperationResult interface out of several types. Removed duplicate javadocs. Used {@code} in javadocs. Fixed typos. SynchronizationProviderResult.java: Now extends PluginResult.OperationResult + removed duplicate declarations. *OperationBasis.java: Called processOperationResult() and setResults(). Used static imports for DirectoryServer.*. Removed useless comments. LocalBackend*Operation.java Called processOperationResult() and setResults(). Used static imports for DirectoryServer.*. Removed useless comments. Extracted method getAccessControlHandler(). git-svn-id: https://svn.forgerock.org/opendj/trunk@12738 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
git-svn-id: https://svn.forgerock.org/opendj/trunk@12737 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
PasswordPolicyState.java: Extracted methods isLocked(), computeHighestTime() and newAttribute() *.java: Used PasswordPolicyState.isLocked(). git-svn-id: https://svn.forgerock.org/opendj/trunk@12736 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- removed code duplication - explicited code. this allowed to remove useless comments LocalBackendModifyOperation.java: Extracted methods mustCheckSchema(), processInitialSchema(), addIfAttributeValueExistsPreEncodedPassword(), addIfAttributeValueExistsNoPreEncodedPassword(), checkSchema(), isHumanReadable() Removed unused method getName() git-svn-id: https://svn.forgerock.org/opendj/trunk@12735 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Aug, 2015
6 commits
-
Used Attributes.create(String, String...) instead of AttributeBuilder. Extracted methods addAttribute(), addOperation(), modifyOperation(), getAttributeType() Used more newModification() Reordered a few statements + grouped together related statements to make code clearer Removed useless comments git-svn-id: https://svn.forgerock.org/opendj/trunk@12734 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Renamed buildMod() to newModification(). Used static import for ModificationType.* git-svn-id: https://svn.forgerock.org/opendj/trunk@12733 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12732 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12731 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12730 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12729 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Aug, 2015
6 commits
-
This patch implements a formatting suggestion from Chris Lee. git-svn-id: https://svn.forgerock.org/opendj/trunk@12728 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch updates the dev guide discussion of synchronous vs. asynchronous APIs. git-svn-id: https://svn.forgerock.org/opendj/trunk@12727 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch adds some new examples using the asynchronous APIs: * ModifyAsync.java * SearchBindAsync.java * ShortLifeAsync.java * SimpleAuthAsync.java * UpdateGroupAsync.java * UseSchemaAsync.java The examples also tend to be written in fluent style, which in some cases looks a bit cluttered due to inline declarations. git-svn-id: https://svn.forgerock.org/opendj/trunk@12726 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12725 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12724 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12723 41b1ffd8-f28e-4786-ab96-9950f0a78031