jackrabbit-commits mailing list archives

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

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

Modified:
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/name/NameFactoryImpl.java

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/name/NameFactoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/name/NameFactoryImpl.java?rev=915833&r1=915832&r2=915833&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/name/NameFactoryImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/name/NameFactoryImpl.java
Wed Feb 24 15:41:55 2010
@@ -139,6 +139,7 @@
          * @see NameFactory#create(String)
          * @see Object#toString()
          */
+        @Override
         public String toString() {
             // Name is immutable, we can store the string representation
             if (string == null) {
@@ -157,6 +158,7 @@
          *         <code>false</code> otherwise.
          * @see Object#equals(Object)
          */
+        @Override
         public boolean equals(Object obj) {
             if (this == obj) {
                 return true;
@@ -182,6 +184,7 @@
          * @return hash code
          * @see Object#hashCode()
          */
+        @Override
         public int hashCode() {
             // Name is immutable, we can store the computed hash code value
             int h = hash;
@@ -203,6 +206,7 @@
          * @throws CloneNotSupportedException never thrown
          * @see Object#clone()
          */
+        @Override
         public Object clone() throws CloneNotSupportedException {
             // Name is immutable, no special handling required
             return super.clone();



Mime
View raw message