jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1331130 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak: query/index/FilterImpl.java spi/Filter.java
Date Thu, 26 Apr 2012 22:28:00 GMT
Author: mduerig
Date: Thu Apr 26 22:27:59 2012
New Revision: 1331130

URL: http://svn.apache.org/viewvc?rev=1331130&view=rev
Log:
cleanup
- remove redundant modifiers
- add @Override

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/index/FilterImpl.java
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/Filter.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/index/FilterImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/index/FilterImpl.java?rev=1331130&r1=1331129&r2=1331130&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/index/FilterImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/query/index/FilterImpl.java
Thu Apr 26 22:27:59 2012
@@ -78,10 +78,12 @@ public class FilterImpl implements Filte
      *
      * @return the path
      */
+    @Override
     public String getPath() {
         return path;
     }
 
+    @Override
     public PathRestriction getPathRestriction() {
         return pathRestriction;
     }
@@ -137,6 +139,7 @@ public class FilterImpl implements Filte
      * @param propertyName the property name
      * @return the restriction or null
      */
+    @Override
     public PropertyRestriction getPropertyRestriction(String propertyName) {
         return propertyRestrictions.get(propertyName);
     }

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/Filter.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/Filter.java?rev=1331130&r1=1331129&r2=1331130&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/Filter.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/Filter.java
Thu Apr 26 22:27:59 2012
@@ -50,7 +50,7 @@ public interface Filter {
     /**
      * A restriction for a property.
      */
-    static class PropertyRestriction {
+    class PropertyRestriction {
 
         /**
          * The name of the property.
@@ -88,7 +88,7 @@ public interface Filter {
     /**
      * The path restriction type.
      */
-    public enum PathRestriction {
+    enum PathRestriction {
 
         /**
          * A parent of this node



Mime
View raw message