jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1456140 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/Jcr.java
Date Wed, 13 Mar 2013 21:33:47 GMT
Author: mduerig
Date: Wed Mar 13 21:33:47 2013
New Revision: 1456140

URL: http://svn.apache.org/r1456140
Log:
don't call overrideable method from constructor

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/Jcr.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/Jcr.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/Jcr.java?rev=1456140&r1=1456139&r2=1456140&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/Jcr.java (original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/Jcr.java Wed
Mar 13 21:33:47 2013
@@ -89,56 +89,56 @@ public class Jcr {
     }
 
     @Nonnull
-    public Jcr with(@Nonnull RepositoryInitializer initializer) {
+    public final Jcr with(@Nonnull RepositoryInitializer initializer) {
        oak.with(checkNotNull(initializer));
        return this;
     }
 
     @Nonnull
-    public Jcr with(@Nonnull QueryIndexProvider provider) {
+    public final Jcr with(@Nonnull QueryIndexProvider provider) {
         oak.with(checkNotNull(provider));
         return this;
     }
 
     @Nonnull
-    public Jcr with(@Nonnull IndexHookProvider indexHookProvider) {
+    public final Jcr with(@Nonnull IndexHookProvider indexHookProvider) {
         oak.with(checkNotNull(indexHookProvider));
         return this;
     }
 
     @Nonnull
-    public Jcr with(@Nonnull CommitHook hook) {
+    public final Jcr with(@Nonnull CommitHook hook) {
         oak.with(checkNotNull(hook));
         return this;
     }
 
     @Nonnull
-    public Jcr with(@Nonnull EditorProvider provider) {
+    public final Jcr with(@Nonnull EditorProvider provider) {
         oak.with(checkNotNull(provider));
         return this;
     }
 
     @Nonnull
-    public Jcr with(@Nonnull Editor editor) {
+    public final Jcr with(@Nonnull Editor editor) {
         oak.with(checkNotNull(editor));
         return this;
     }
 
     @Nonnull
-    public Jcr with(@Nonnull SecurityProvider securityProvider) {
+    public final Jcr with(@Nonnull SecurityProvider securityProvider) {
         oak.with(checkNotNull(securityProvider));
         this.securityProvider = securityProvider;
         return this;
     }
 
     @Nonnull
-    public Jcr with(@Nonnull ConflictHandler conflictHandler) {
+    public final Jcr with(@Nonnull ConflictHandler conflictHandler) {
         oak.with(checkNotNull(conflictHandler));
         return this;
     }
 
     @Nonnull
-    public Jcr with(@Nonnull ScheduledExecutorService executor) {
+    public final Jcr with(@Nonnull ScheduledExecutorService executor) {
         this.executor = checkNotNull(executor);
         return this;
     }



Mime
View raw message