avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From froehl...@apache.org
Subject cvs commit: jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/data/impl SmallIntColumn.java
Date Tue, 13 Nov 2001 12:22:56 GMT
froehlich    01/11/13 04:22:56

  Modified:    apps/db/src/java/org/apache/avalon/db/data/impl
                        SmallIntColumn.java
  Log:
  
  
  Revision  Changes    Path
  1.2       +2 -2      jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/data/impl/SmallIntColumn.java
  
  Index: SmallIntColumn.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/data/impl/SmallIntColumn.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SmallIntColumn.java	2001/11/13 12:15:56	1.1
  +++ SmallIntColumn.java	2001/11/13 12:22:56	1.2
  @@ -13,7 +13,7 @@
    * Class SmallIntColumn
    *
    * @author Gerhard Froehlich <a href="mailto:g-froehlich@gmx.de">g-froehlich@gmx.de</a>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public class SmallIntColumn extends AbstractColumn {
   
  @@ -27,7 +27,7 @@
   
       public void test(Object obj) throws ValidationException {
           try {
  -            int i = Short.parseShort(obj.toString());
  +            short s = Short.parseShort(obj.toString());
           } catch (NumberFormatException nfe) {
               throw new ValidationException("SmallInt " + mName + " is not a valid number
(" + obj + ")");
           }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message