jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r1344312 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionDelegate.java
Date Wed, 30 May 2012 15:38:36 GMT
Author: reschke
Date: Wed May 30 15:38:36 2012
New Revision: 1344312

URL: http://svn.apache.org/viewvc?rev=1344312&view=rev
Log:
OAK-101: remove commented-out code

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

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionDelegate.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionDelegate.java?rev=1344312&r1=1344311&r2=1344312&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionDelegate.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionDelegate.java
Wed May 30 15:38:36 2012
@@ -375,29 +375,6 @@ public class SessionDelegate {
         }
     }
 
-//    @CheckForNull
-//    NodeDelegate slowFindByJcrUuid(String id) {
-//        return slowFindByJcrUuid(getTree(""), id);
-//    }
-//
-//    @CheckForNull
-//    NodeDelegate slowFindByJcrUuid(Tree tree, String id) {
-//        // Tree-walking implementation...
-//        PropertyState p = tree.getProperty("jcr:uuid");
-//        if (p != null && id.equals(p.getValue().getString())) {
-//            return new NodeDelegate(this, tree);
-//        } else {
-//            for (Tree c : tree.getChildren()) {
-//                NodeDelegate found = slowFindByJcrUuid(c, id);
-//                if (found != null) {
-//                    return found;
-//                }
-//            }
-//        }
-//
-//        return null;
-//    }
-
     //--------------------------------------------------< SessionNameMapper >---
 
     private class SessionNameMapper extends AbstractNameMapper {



Mime
View raw message