commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joe...@apache.org
Subject svn commit: r368855 - /jakarta/commons/sandbox/id/trunk/src/java/org/apache/commons/id/serial/LongGenerator.java
Date Fri, 13 Jan 2006 21:06:54 GMT
Author: joehni
Date: Fri Jan 13 13:06:43 2006
New Revision: 368855

URL: http://svn.apache.org/viewcvs?rev=368855&view=rev
Log:
Fix: LongGenerator return 0 as minValue(), but wrap continued with Long.MIN_VALUE. Inherit
minValue and maxValue now.

Modified:
    jakarta/commons/sandbox/id/trunk/src/java/org/apache/commons/id/serial/LongGenerator.java

Modified: jakarta/commons/sandbox/id/trunk/src/java/org/apache/commons/id/serial/LongGenerator.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/id/trunk/src/java/org/apache/commons/id/serial/LongGenerator.java?rev=368855&r1=368854&r2=368855&view=diff
==============================================================================
--- jakarta/commons/sandbox/id/trunk/src/java/org/apache/commons/id/serial/LongGenerator.java
(original)
+++ jakarta/commons/sandbox/id/trunk/src/java/org/apache/commons/id/serial/LongGenerator.java
Fri Jan 13 13:06:43 2006
@@ -50,24 +50,6 @@
     }
 
     /**
-     * <p> Returns the maximum value for an identifier from this generator.</p>
-     *
-     * @return the maximum idendifier value
-     */
-    public long maxValue() {
-        return Long.MAX_VALUE;
-    }
-
-    /**
-     * <p> Returns the minimum value for an identifier from this generator.</p>
-     *
-     * @return the minimum idendifier value
-     */
-    public long minValue() {
-        return 0;
-    }
-
-    /**
      * Getter for property wrap.
      *
      * @return <code>true</code> iff this generator is set up to wrap.



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message