jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r915823 - /jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/
Date Wed, 24 Feb 2010 15:31:46 GMT
Author: angela
Date: Wed Feb 24 15:31:46 2010
New Revision: 915823

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

Modified:
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventBundleImpl.java
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventImpl.java
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QItemDefinitionImpl.java
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeDefinitionImpl.java
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeTypeDefinitionImpl.java
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QPropertyDefinitionImpl.java

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventBundleImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventBundleImpl.java?rev=915823&r1=915822&r2=915823&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventBundleImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventBundleImpl.java
Wed Feb 24 15:31:46 2010
@@ -63,7 +63,7 @@
         return isLocal;
     }
 
-    //-----------------------------< Iterable >---------------------------------
+    //-----------------------------------------------------------< Iterable >---
 
     /**
      * {@inheritDoc}

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventImpl.java?rev=915823&r1=915822&r2=915823&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/EventImpl.java
Wed Feb 24 15:31:46 2010
@@ -106,6 +106,7 @@
         this.timestamp = timestamp;
     }
 
+    //--------------------------------------------------------------< Event >---
     /**
      * {@inheritDoc}
      */
@@ -181,7 +182,9 @@
             return timestamp;
         }
     }
-    
+
+    //-------------------------------------------------------------< Object >---
+    @Override
     public String toString() {
         return new StringBuffer(getClass().getName())
             .append("[")

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QItemDefinitionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QItemDefinitionImpl.java?rev=915823&r1=915822&r2=915823&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QItemDefinitionImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QItemDefinitionImpl.java
Wed Feb 24 15:31:46 2010
@@ -147,6 +147,7 @@
      *         <code>false</code> otherwise
      * @see Object#equals(Object)
      */
+    @Override
     public boolean equals(Object obj) {
         if (this == obj) {
             return true;
@@ -170,5 +171,6 @@
      *
      * @return the hashcode
      */
+    @Override
     public abstract int hashCode();
 }

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeDefinitionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeDefinitionImpl.java?rev=915823&r1=915822&r2=915823&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeDefinitionImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeDefinitionImpl.java
Wed Feb 24 15:31:46 2010
@@ -114,8 +114,7 @@
                 nodeDef.allowsSameNameSiblings());
     }
 
-    //-------------------------------------------------------< QNodeDefinition >
-
+    //----------------------------------------------------< QNodeDefinition >---
     /**
      * {@inheritDoc}
      */
@@ -146,7 +145,7 @@
         return true;
     }
 
-    //-------------------------------------------< java.lang.Object overrides >
+    //-------------------------------------------------------------< Object >---
     /**
      * Compares two node definitions for equality. Returns <code>true</code>
      * if the given object is a node defintion and has the same attributes
@@ -157,6 +156,7 @@
      *         <code>false</code> otherwise
      * @see Object#equals(Object)
      */
+    @Override
     public boolean equals(Object obj) {
         if (this == obj) {
             return true;
@@ -179,6 +179,7 @@
      *
      * @return the hash code
      */
+    @Override
     public int hashCode() {
         if (hashCode == 0) {
             // build hashCode (format: <declaringNodeType>/<name>/<requiredPrimaryTypes>)
@@ -205,8 +206,7 @@
         return hashCode;
     }
 
-    //-----------------------------< internal >---------------------------------
-
+    //-----------------------------------------------------------< internal >---
     /**
      * Returns the names of the passed node types using the namespace resolver
      * to parse the names.

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeTypeDefinitionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeTypeDefinitionImpl.java?rev=915823&r1=915822&r2=915823&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeTypeDefinitionImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QNodeTypeDefinitionImpl.java
Wed Feb 24 15:31:46 2010
@@ -342,8 +342,11 @@
         }
     }
     
-    //-------------------------------------------< java.lang.Object overrides >
-
+    //-------------------------------------------------------------< Object >---
+    /**
+     * @see Object#equals(Object)
+     */
+    @Override
     public boolean equals(Object obj) {
         if (this == obj) {
             return true;
@@ -370,12 +373,12 @@
      * @return always zero
      * @see Object#hashCode()
      */
+    @Override
     public int hashCode() {
         return 0;
     }
 
-    //-------------------------------< internal >-------------------------------
-
+    //-----------------------------------------------------------< internal >---
     /**
      * Returns a set of serializable property definitions for
      * <code>propDefs</code>.

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QPropertyDefinitionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QPropertyDefinitionImpl.java?rev=915823&r1=915822&r2=915823&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QPropertyDefinitionImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/QPropertyDefinitionImpl.java
Wed Feb 24 15:31:46 2010
@@ -226,7 +226,7 @@
         return false;
     }
 
-    //-------------------------------------------< java.lang.Object overrides >
+    //-------------------------------------------------------------< Object >---
     /**
      * Compares two property definitions for equality. Returns <code>true</code>
      * if the given object is a property defintion and has the same attributes
@@ -237,6 +237,7 @@
      *         <code>false</code> otherwise
      * @see Object#equals(Object)
      */
+    @Override
     public boolean equals(Object obj) {
         if (this == obj) {
             return true;
@@ -260,6 +261,7 @@
      *
      * @return the hashcode
      */
+    @Override
     public int hashCode() {
         if (hashCode == 0) {
             // build hashCode (format: <declaringNodeType>/<name>/<requiredType>/<multiple>)
@@ -291,7 +293,7 @@
         return hashCode;
     }
 
-    //-------------------------------< internal >-------------------------------
+    //-----------------------------------------------------------< internal >---
 
     /**
      * Convers JCR {@link Value}s to {@link QValue}s.



Mime
View raw message