16 Jul, 2013
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9246 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9245 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9243 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…) method into findMatchedDN() and setMatchedDN() methods. Also fixed the checkstyle error. git-svn-id: https://svn.forgerock.org/opendj/trunk@9241 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 Jul, 2013
6 commits
-
…ng this code to a single reusable place. LocalBackend*Operation.java: Extracted method findAndSetMatchingDN() from the process*() methods. Tidied up the code to make it the same across all classes. PasswordModifyExtendedOperation.java: Extracted method findAndSetMatchingDN() from getEntryByDN(). git-svn-id: https://svn.forgerock.org/opendj/trunk@9240 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9238 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…duplicating the null checks everywhere. git-svn-id: https://svn.forgerock.org/opendj/trunk@9234 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…duplicating the null checks everywhere. git-svn-id: https://svn.forgerock.org/opendj/trunk@9233 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Extracted process*() methods from the processLocal*() methods for the LocalBackend*Operation classes. - Transformed plain comments into javadocs. - Used interfaces instead of concrete classes. - Made all protected members be private. git-svn-id: https://svn.forgerock.org/opendj/trunk@9232 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Moved BooleanHolder out of LocalBackendAddOperation. - Extracted process*() methods from the processLocal*() methods for the LocalBackend*Operation classes. - Transformed plain comments into javadocs. - Used interfaces instead of concrete classes. - Made all protected members be private. - Used StatisUtils.collectionToString() git-svn-id: https://svn.forgerock.org/opendj/trunk@9231 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Jul, 2013
7 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9230 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
LocalBackendAddOperation.java: Added helper class BooleanHolder. Made all protected members be private. Extracted method processAdd() out of the labeled code block in processLocalAdd() + replaced duplicated catch(DirectoryException) with just one. Extracted method checkHasReadOnlyAttributes() out of processLocalAdd(). Extracted a second method addRDNAttributesIfNecessary() out of addRDNAttributesIfNecessary(). Extracted method checkAttributes() out of checkSchema(). git-svn-id: https://svn.forgerock.org/opendj/trunk@9229 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9228 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
More code simplifications. git-svn-id: https://svn.forgerock.org/opendj/trunk@9227 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
More code simplifications. git-svn-id: https://svn.forgerock.org/opendj/trunk@9226 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Removed instance member isDenyEval, setDecidingAci() and setEvalReason(), replaced with setEvaluationResult() since both are always set at the same time. Changed the impl of isDenyEval() to use the evalReason. AciEffectiveRights.java: Used AciEvalContext.setEvaluationResult(). AciHandler.java: In testApplicableLists(), used AciEvalContext.setEvaluationResult(). Pushed negation down in if statements condition, merged common code between if and else clauses, collapsed if statements. git-svn-id: https://svn.forgerock.org/opendj/trunk@9225 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Switched the use of collections concrete classes to interfaces. AciHandler.java: Switched use of collections concrete classes to interfaces. Used the AutoRefactor plugin on the code to simplify the code. git-svn-id: https://svn.forgerock.org/opendj/trunk@9224 41b1ffd8-f28e-4786-ab96-9950f0a78031
11 Jul, 2013
2 commits
-
Committed adding @Override separately from bigger, real changes. git-svn-id: https://svn.forgerock.org/opendj/trunk@9222 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Removed duplicated javadoc. git-svn-id: https://svn.forgerock.org/opendj/trunk@9221 41b1ffd8-f28e-4786-ab96-9950f0a78031
10 Jul, 2013
5 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9215 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9213 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Replaced collection concrete classes with interfaces. Used javadocs instead of line comments. git-svn-id: https://svn.forgerock.org/opendj/trunk@9212 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9211 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
In bootstrapAttributeSyntaxes(), extracted method initAndRegister() to remove duplicated code. *.java: Replaced collection concrete classes with interfaces. git-svn-id: https://svn.forgerock.org/opendj/trunk@9210 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Jul, 2013
7 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9206 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9205 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9204 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9202 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Updated copyright because of commit r9200 . git-svn-id: https://svn.forgerock.org/opendj/trunk@9201 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Extracted methods handlePreParseException(), handlePreParseResult(), handlePreOperationException(), handlePreOperationResult() to remove duplication. git-svn-id: https://svn.forgerock.org/opendj/trunk@9200 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Code cleanup: removed useless try / catch. Used interfaces instead of concrete collection classes. Extracted methods toAttributesMap(), toAttributesList() and addRDNAttributesIfNecessary() to remove duplicated code. git-svn-id: https://svn.forgerock.org/opendj/trunk@9199 41b1ffd8-f28e-4786-ab96-9950f0a78031
08 Jul, 2013
1 commit
-
…ld path contains spaces git-svn-id: https://svn.forgerock.org/opendj/trunk@9196 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 Jul, 2013
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9190 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9189 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9187 41b1ffd8-f28e-4786-ab96-9950f0a78031
04 Jul, 2013
3 commits
-
Extracted methods decodePatterns() and filterDN() to remove code duplication. git-svn-id: https://svn.forgerock.org/opendj/trunk@9179 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9178 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The use of reflection was justified when we were supporting any Java versions prior to version 6. Now that the we are supporting Java from version 6, the use of reflection is not justified anymore. git-svn-id: https://svn.forgerock.org/opendj/trunk@9177 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Jul, 2013
2 commits
-
Replaced the pattern "iterate on keys then get the values" by just "iterate on values". In getBytes(), replaced 2 loops by just one. git-svn-id: https://svn.forgerock.org/opendj/trunk@9169 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
In encodeAndPurge(), made the code more readable by extracting methods needsPurge() and encode(). HistoricalTest.java: Cleaned up the test a bit. git-svn-id: https://svn.forgerock.org/opendj/trunk@9168 41b1ffd8-f28e-4786-ab96-9950f0a78031