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/cache CacheFilterPackageImpl.java
Date Fri, 27 Feb 2004 19:45:03 GMT
brj         2004/02/27 11:45:03

  Modified:    src/java/org/apache/ojb/broker/cache
                        CacheFilterPackageImpl.java
  Log:
  fixed minor problems detected by findbugs
  
  Revision  Changes    Path
  1.6       +2 -2      db-ojb/src/java/org/apache/ojb/broker/cache/CacheFilterPackageImpl.java
  
  Index: CacheFilterPackageImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/cache/CacheFilterPackageImpl.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CacheFilterPackageImpl.java	12 Jun 2003 17:24:13 -0000	1.5
  +++ CacheFilterPackageImpl.java	27 Feb 2004 19:45:03 -0000	1.6
  @@ -73,7 +73,7 @@
       private boolean matchFilterPackages(String aFilterPackages, Class clazz)
       {
           boolean result = true;
  -        if (aFilterPackages != null && aFilterPackages != "")
  +        if (aFilterPackages != null && aFilterPackages.length() != 0)
           {
               String token;
               tok = new StringTokenizer(aFilterPackages, COMMA);
  
  
  

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