jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1330793 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeDelegate.java
Date Thu, 26 Apr 2012 11:57:29 GMT
Author: mduerig
Date: Thu Apr 26 11:57:28 2012
New Revision: 1330793

URL: http://svn.apache.org/viewvc?rev=1330793&view=rev
Log:
add missing @Override

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

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeDelegate.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeDelegate.java?rev=1330793&r1=1330792&r2=1330793&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeDelegate.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeDelegate.java
Thu Apr 26 11:57:28 2012
@@ -16,13 +16,6 @@
  */
 package org.apache.jackrabbit.oak.jcr;
 
-import java.util.Iterator;
-import java.util.List;
-
-import javax.jcr.ItemNotFoundException;
-import javax.jcr.PathNotFoundException;
-import javax.jcr.RepositoryException;
-
 import org.apache.jackrabbit.oak.api.CoreValue;
 import org.apache.jackrabbit.oak.api.PropertyState;
 import org.apache.jackrabbit.oak.api.Root;
@@ -32,6 +25,12 @@ import org.apache.jackrabbit.oak.namepat
 import org.apache.jackrabbit.oak.util.Function1;
 import org.apache.jackrabbit.oak.util.Iterators;
 
+import javax.jcr.ItemNotFoundException;
+import javax.jcr.PathNotFoundException;
+import javax.jcr.RepositoryException;
+import java.util.Iterator;
+import java.util.List;
+
 public class NodeDelegate extends ItemDelegate {
 
     private final SessionContext<SessionImpl> sessionContext;
@@ -103,6 +102,7 @@ public class NodeDelegate extends ItemDe
         return new NodeDelegate(sessionContext, getTree().getParent());
     }
 
+    @Override
     String getPath() {
         return '/' + getTree().getPath();
     }
@@ -153,8 +153,7 @@ public class NodeDelegate extends ItemDe
         return getPropertyOrNull(oakName);
     }
 
-    // ------------------------------------------------------------< private
-    // >---
+    // ------------------------------------------------------------< private >---
 
     private Root getBranch() {
         return sessionContext.getBranch();



Mime
View raw message