commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volker Karlmeier <vol...@magiccode.eu>
Subject [PATCH] only in debug-mode: when entityURL is null, it cannot be
Date Sun, 16 Nov 2008 20:11:05 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Index: 
/home/volker/workspace/commons-digester/src/java/org/apache/commons/digester/Digester.java
===================================================================
- --- 
/home/volker/workspace/commons-digester/src/java/org/apache/commons/digester/Digester.java
   
(revision 718060)
+++ 
/home/volker/workspace/commons-digester/src/java/org/apache/commons/digester/Digester.java
   
(working copy)
@@ -1599,7 +1599,10 @@
~             if (systemId == null) {
~                 // cannot resolve
~                 if (log.isDebugEnabled()) {
- -                    log.debug(" Cannot resolve entity: '" + entityURL 
+ "'");
+                    if (entityURL == null)
+                        log.debug(" Cannot resolve entity: entityURL is 
null");
+                    else
+                        log.debug(" Cannot resolve entity: '" + 
entityURL + "'");
~                 }
~                 return (null);


- --
- -------------------------------

Volker Karlmeier
Friedrich-Freye-Str. 61
45481 Mülheim/Ruhr

Tel. :  (+49) 208-7785675
Mobil:  (+49) 176-21056587
Mail :  Volker@magiccode.eu

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFJIH5ZaEMQXBIqssERAn18AJ4qPN8FNtyKRF+wboq+DMDPNCB1kwCgj4N1
oV3ZDsRrDcY3KHBEopu+YI4=
=JRPQ
-----END PGP SIGNATURE-----


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


Mime
View raw message