db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/util BrokerHelper.java
Date Sat, 25 Oct 2003 15:03:08 GMT
brj         2003/10/25 08:03:08

  Modified:    src/java/org/apache/ojb/broker/util BrokerHelper.java
  Log:
  fixed issue in method isNull()
  reported by Andrey Malakov
  
  Revision  Changes    Path
  1.27      +2 -2      db-ojb/src/java/org/apache/ojb/broker/util/BrokerHelper.java
  
  Index: BrokerHelper.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/BrokerHelper.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- BrokerHelper.java	17 Oct 2003 11:39:36 -0000	1.26
  +++ BrokerHelper.java	25 Oct 2003 15:03:08 -0000	1.27
  @@ -290,7 +290,7 @@
       {
           return (
               (aValue == null)
  -                || ((aValue instanceof Number) && (((Number) aValue).intValue()
== 0))
  +                || ((aValue instanceof Number) && (((Number) aValue).longValue()
== 0))
                   || ((aValue instanceof String) && (((String) aValue).length() ==
0)));
       }
       
  
  
  

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


Mime
View raw message