jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1298891 - /jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/NodeImpl.java
Date Fri, 09 Mar 2012 15:52:35 GMT
Author: mduerig
Date: Fri Mar  9 15:52:35 2012
New Revision: 1298891

URL: http://svn.apache.org/viewvc?rev=1298891&view=rev
Log:
Microkernel based prototype of JCR implementation (WIP)
- rename NodeState to TransientNodeState to avoid naming conflict with NodeState interface
in Microkernel (part 2)

Modified:
    jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/NodeImpl.java

Modified: jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/NodeImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/NodeImpl.java?rev=1298891&r1=1298890&r2=1298891&view=diff
==============================================================================
--- jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/NodeImpl.java
(original)
+++ jackrabbit/sandbox/jackrabbit-microkernel/src/main/java/org/apache/jackrabbit/NodeImpl.java
Fri Mar  9 15:52:35 2012
@@ -305,8 +305,8 @@ public class NodeImpl extends ItemImpl i
     public NodeIterator getNodes(final String namePattern) throws RepositoryException {
         Iterator<TransientNodeState> childNodeStates = state.getChildNodeStates(new
Predicate<TransientNodeState>() {
             @Override
-            public boolean evaluate(TransientNodeState nodeState) {
-                return ItemNameMatcher.matches(nodeState.getName(), namePattern);
+            public boolean evaluate(TransientNodeState state) {
+                return ItemNameMatcher.matches(state.getName(), namePattern);
             }
         });
 
@@ -317,8 +317,8 @@ public class NodeImpl extends ItemImpl i
     public NodeIterator getNodes(final String[] nameGlobs) throws RepositoryException {
         Iterator<TransientNodeState> childNodeStates = state.getChildNodeStates(new
Predicate<TransientNodeState>() {
             @Override
-            public boolean evaluate(TransientNodeState nodeState) {
-                return ItemNameMatcher.matches(nodeState.getName(), nameGlobs);
+            public boolean evaluate(TransientNodeState state) {
+                return ItemNameMatcher.matches(state.getName(), nameGlobs);
             }
         });
 



Mime
View raw message