jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1532848 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/SecureNodeState.java
Date Wed, 16 Oct 2013 18:28:34 GMT
Author: angela
Date: Wed Oct 16 18:28:33 2013
New Revision: 1532848

URL: http://svn.apache.org/r1532848
Log:
minor improvement

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/SecureNodeState.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/SecureNodeState.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/SecureNodeState.java?rev=1532848&r1=1532847&r2=1532848&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/SecureNodeState.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/SecureNodeState.java
Wed Oct 16 18:28:33 2013
@@ -16,11 +16,6 @@
  */
 package org.apache.jackrabbit.oak.core;
 
-import static com.google.common.base.Preconditions.checkNotNull;
-import static com.google.common.collect.Iterables.filter;
-import static com.google.common.collect.Iterables.transform;
-import static java.util.Collections.emptyList;
-
 import javax.annotation.CheckForNull;
 import javax.annotation.Nonnull;
 
@@ -36,6 +31,11 @@ import org.apache.jackrabbit.oak.spi.sta
 import org.apache.jackrabbit.oak.spi.state.NodeBuilder;
 import org.apache.jackrabbit.oak.spi.state.NodeState;
 
+import static com.google.common.base.Preconditions.checkNotNull;
+import static com.google.common.collect.Iterables.filter;
+import static com.google.common.collect.Iterables.transform;
+import static java.util.Collections.emptyList;
+
 /**
  * SecureNodeState...
  *
@@ -195,7 +195,7 @@ class SecureNodeState extends AbstractNo
     /**
      * Predicate for testing whether the node state in a child node entry is iterable.
      */
-    private class IterableNodePredicate implements Predicate<ChildNodeEntry> {
+    private static class IterableNodePredicate implements Predicate<ChildNodeEntry>
{
         @Override
         public boolean apply(@Nonnull ChildNodeEntry input) {
             return input.getNodeState().exists();



Mime
View raw message