db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/accesslayer/conversions IntList2VarcharFieldConversion.java
Date Tue, 26 Oct 2004 18:34:16 GMT
arminw      2004/10/26 11:34:16

  Modified:    src/java/org/apache/ojb/broker/accesslayer/conversions
                        IntList2VarcharFieldConversion.java
  Log:
  fix OJB300
  
  Revision  Changes    Path
  1.3       +2 -4      db-ojb/src/java/org/apache/ojb/broker/accesslayer/conversions/IntList2VarcharFieldConversion.java
  
  Index: IntList2VarcharFieldConversion.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/conversions/IntList2VarcharFieldConversion.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IntList2VarcharFieldConversion.java	20 Jun 2004 12:34:49 -0000	1.2
  +++ IntList2VarcharFieldConversion.java	26 Oct 2004 18:34:16 -0000	1.3
  @@ -53,7 +53,7 @@
               List intList = (List) source;
               if (intList.isEmpty())
               {
  -                return NULLVALUE;
  +                return EMPTYCOLLEC;
               }
   
               StringBuffer result = new StringBuffer();
  @@ -61,8 +61,6 @@
               {
                   Integer obj = (Integer) intList.get(i);
                   String newSt = obj.toString();
  -                // introduced in JDK 1.4, replace with commons-lang
  -                // newSt = newSt.replaceAll("#", "##");
                   newSt = StringUtils.replace(newSt, "#", "##");
                   result.append(newSt);
                   result.append("#");
  
  
  

---------------------------------------------------------------------
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