You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dl...@apache.org on 2002/02/20 21:56:07 UTC

cvs commit: jakarta-commons-sandbox/util/src/java/org/apache/commons/util/lru LRUStore.java

dlr         02/02/20 12:56:07

  Modified:    util/src/java/org/apache/commons/util/lru LRUStore.java
  Log:
  Removed unnecessary error hanlding which caused Jikes compiler warnings.
  
  Revision  Changes    Path
  1.3       +1 -9      jakarta-commons-sandbox/util/src/java/org/apache/commons/util/lru/LRUStore.java
  
  Index: LRUStore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/util/src/java/org/apache/commons/util/lru/LRUStore.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -u -r1.2 -r1.3
  --- LRUStore.java	16 Feb 2002 23:21:21 -0000	1.2
  +++ LRUStore.java	20 Feb 2002 20:56:07 -0000	1.3
  @@ -220,17 +220,9 @@
               //log.error( e );
           }
   
  -        try
  -        {
   
  -            if ( !found )
  -            {
  -                return null;
  -            }
  -        }
  -        catch ( Exception e )
  +        if ( !found )
           {
  -            //log.error( e, "Error handling miss" );
               return null;
           }
   
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>