You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by cr...@locus.apache.org on 2000/11/02 00:20:40 UTC
cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/util/xml XmlMapper.java
craigmcc 00/11/01 15:20:40
Modified: catalina/src/share/org/apache/catalina/util/xml
XmlMapper.java
Log:
Suppress a couple of System.out.println() messages unless debugging detail
is turned on.
Revision Changes Path
1.4 +6 -4 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/util/xml/XmlMapper.java
Index: XmlMapper.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/util/xml/XmlMapper.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XmlMapper.java 2000/10/03 18:57:45 1.3
+++ XmlMapper.java 2000/11/01 23:20:39 1.4
@@ -456,8 +456,9 @@
String publicId,
String systemId)
{
- System.out.println("Notation: " + name + " " + publicId +
- " " + systemId);
+ if (debug >= 1)
+ System.out.println("Notation: " + name + " " + publicId +
+ " " + systemId);
}
public void unparsedEntityDecl (String name,
@@ -465,8 +466,9 @@
String systemId,
String notationName)
{
- System.out.println("Unparsed: " + name + " " + publicId +
- " " + systemId + " " + notationName);
+ if (debug >= 1)
+ System.out.println("Unparsed: " + name + " " + publicId +
+ " " + systemId + " " + notationName);
}