[jsword-svn] r2150 - trunk/jsword/src/main/java/org/crosswire/common/util

dmsmith at crosswire.org dmsmith at crosswire.org
Sat Apr 9 08:59:27 MST 2011


Author: dmsmith
Date: 2011-04-09 08:59:27 -0700 (Sat, 09 Apr 2011)
New Revision: 2150

Modified:
   trunk/jsword/src/main/java/org/crosswire/common/util/Version.java
Log:
JS-110 Allow version numbers to have more than 2 parts. By adding o.c.common.util.Version.java and using it in ConfigType.

Modified: trunk/jsword/src/main/java/org/crosswire/common/util/Version.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/common/util/Version.java	2011-04-09 15:51:45 UTC (rev 2149)
+++ trunk/jsword/src/main/java/org/crosswire/common/util/Version.java	2011-04-09 15:59:27 UTC (rev 2150)
@@ -83,15 +83,12 @@
      *
      * @return The original string representation of this version identifier.
      */
+    @Override
     public String toString() {
         return original;
     }
 
-    /**
-     * Returns a hash code value for the object.
-     * 
-     * @return An integer which is a hash code value for this object.
-     */
+    @Override
     public int hashCode() {
         return original.hashCode();
     }




More information about the jsword-svn mailing list