portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sg...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/xml JetspeedXMLEntityResolver.java
Date Mon, 03 Mar 2003 16:59:47 GMT
sgala       2003/03/03 08:59:47

  Modified:    src/java/org/apache/jetspeed/xml
                        JetspeedXMLEntityResolver.java
  Log:
  Unused import + error to stderr when we get an exception (in my codebase)
  
  Revision  Changes    Path
  1.6       +7 -3      jakarta-jetspeed/src/java/org/apache/jetspeed/xml/JetspeedXMLEntityResolver.java
  
  Index: JetspeedXMLEntityResolver.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/xml/JetspeedXMLEntityResolver.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- JetspeedXMLEntityResolver.java	18 Jan 2002 13:14:35 -0000	1.5
  +++ JetspeedXMLEntityResolver.java	3 Mar 2003 16:59:47 -0000	1.6
  @@ -58,7 +58,6 @@
   //Jetspeed cache
   import org.apache.jetspeed.cache.disk.*;
   
  -import org.w3c.dom.*;
   import org.xml.sax.*;
   
   
  @@ -87,7 +86,12 @@
               is.setPublicId( publicId );
               is.setSystemId( systemId );
               return is;
  -        } catch(IOException x) {}
  +        } catch(IOException x)
  +        {
  +            System.err.println("JER: ( " + publicId  + 
  +                               " Taking " + systemId + " from cache throwed Exception:
" + x);
  +            
  +        }
           return null;
       }
   }
  
  
  

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


Mime
View raw message