jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1393480 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/commit/CompositeValidatorProvider.java
Date Wed, 03 Oct 2012 13:38:39 GMT
Author: angela
Date: Wed Oct  3 13:38:38 2012
New Revision: 1393480

URL: http://svn.apache.org/viewvc?rev=1393480&view=rev
Log:
fix indention

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/commit/CompositeValidatorProvider.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/commit/CompositeValidatorProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/commit/CompositeValidatorProvider.java?rev=1393480&r1=1393479&r2=1393480&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/commit/CompositeValidatorProvider.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/commit/CompositeValidatorProvider.java
Wed Oct  3 13:38:38 2012
@@ -16,30 +16,28 @@
  */
 package org.apache.jackrabbit.oak.spi.commit;
 
-import org.apache.jackrabbit.oak.spi.state.NodeState;
-
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collection;
 import java.util.List;
-
 import javax.annotation.Nonnull;
 
+import org.apache.jackrabbit.oak.spi.state.NodeState;
+
 /**
  * This {@code ValidatorProvider} aggregates a list of validator providers into
  * a single validator provider.
  */
 public class CompositeValidatorProvider implements ValidatorProvider {
 
-    public static ValidatorProvider compose(
-            @Nonnull Collection<ValidatorProvider> providers) {
+    public static ValidatorProvider compose(@Nonnull Collection<ValidatorProvider>
providers) {
         switch (providers.size()) {
-        case 0:
-            return DefaultValidatorProvider.INSTANCE;
-        case 1:
-            return providers.iterator().next();
-        default:
-            return new CompositeValidatorProvider(providers);
+            case 0:
+                return DefaultValidatorProvider.INSTANCE;
+            case 1:
+                return providers.iterator().next();
+            default:
+                return new CompositeValidatorProvider(providers);
         }
     }
 



Mime
View raw message