16 Jul, 2013

9 commits


15 Jul, 2013

10 commits


12 Jul, 2013

8 commits

  • git-svn-id: https://svn.forgerock.org/opendj/trunk@9230 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     
  • 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
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@9228 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • More code simplifications.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9227 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • More code simplifications.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9226 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • 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
    JnRouvignac
     
  • 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
    JnRouvignac
     
  • TestCaseUtils.java:
    Added schemaBeforeStartingFakeServer and shutdownFakeServer().
    
    AciBodyTest.java:
    Added tearDown().
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9223 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

11 Jul, 2013

4 commits

  • Committed adding @Override separately from bigger, real changes.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9222 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • Removed duplicated javadoc.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9221 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@9220 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • EnumRightTest.java:
    Now implements DirectoryServerTestCase instead of the heavyweight AciTestCase.
    
    AciBodyTest.java, EnumRightTest.java:
    Now implements DirectoryServerTestCase instead of the heavyweight AciTestCase.
    Need to fake the DirectoryServer.
    
    TestCaseUtils.java:
    Added startFakeServer() method to fake the DirectoryServer.
    
    AttributeTypeConstants.java: ADDED
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9219 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

10 Jul, 2013

5 commits


09 Jul, 2013

4 commits