jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r916060 - in /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user: IndexNodeResolver.java TraversingNodeResolver.java
Date Thu, 25 Feb 2010 00:28:14 GMT
Author: angela
Date: Thu Feb 25 00:28:14 2010
New Revision: 916060

URL: http://svn.apache.org/viewvc?rev=916060&view=rev
Log:
minor improvement (@Override annotation)

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/IndexNodeResolver.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/TraversingNodeResolver.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/IndexNodeResolver.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/IndexNodeResolver.java?rev=916060&r1=916059&r2=916060&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/IndexNodeResolver.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/IndexNodeResolver.java
Thu Feb 25 00:28:14 2010
@@ -45,6 +45,7 @@
     /**
      * @inheritDoc
      */
+    @Override
     public Node findNode(Name nodeName, Name ntName) throws RepositoryException {
         Query query = buildQuery(nodeName, ntName);
         NodeIterator res = query.execute().getNodes();
@@ -57,6 +58,7 @@
     /**
      * @inheritDoc
      */
+    @Override
     public Node findNode(Name propertyName, String value, Name ntName) throws RepositoryException
{
         Query query = buildQuery(value, Collections.singleton(propertyName), ntName, true,
1);
         NodeIterator res = query.execute().getNodes();
@@ -78,6 +80,7 @@
      * @return
      * @throws javax.jcr.RepositoryException
      */
+    @Override
     public NodeIterator findNodes(Set<Name> propertyNames, String value, Name ntName,
                                   boolean exact, long maxSize) throws RepositoryException
{
         Query query = buildQuery(value, propertyNames, ntName, exact, maxSize);

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/TraversingNodeResolver.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/TraversingNodeResolver.java?rev=916060&r1=916059&r2=916060&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/TraversingNodeResolver.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/TraversingNodeResolver.java
Thu Feb 25 00:28:14 2010
@@ -61,6 +61,7 @@
     /**
      * @inheritDoc
      */
+    @Override
     public Node findNode(Name nodeName, Name ntName) throws RepositoryException {
         String sr = getSearchRoot(ntName);
         if (getSession().nodeExists(sr)) {
@@ -78,6 +79,7 @@
     /**
      * @inheritDoc
      */
+    @Override
     public Node findNode(Name propertyName, String value, Name ntName) throws RepositoryException
{
         String sr = getSearchRoot(ntName);
         if (getSession().nodeExists(sr)) {
@@ -100,6 +102,7 @@
     /**
      * @inheritDoc
      */
+    @Override
     public NodeIterator findNodes(Set<Name> propertyNames, String value, Name ntName,
                                   boolean exact, long maxSize) throws RepositoryException
{
         String sr = getSearchRoot(ntName);



Mime
View raw message