ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/optional XmlValidateTest.java
Date Mon, 02 Dec 2002 16:30:51 GMT
bodewig     2002/12/02 08:30:51

  Modified:    src/main/org/apache/tools/ant/types XMLCatalog.java
               src/testcases/org/apache/tools/ant/taskdefs/optional
                        XmlValidateTest.java
  Log:
  make XMLCatalog less verbose
  
  Revision  Changes    Path
  1.19      +11 -11    jakarta-ant/src/main/org/apache/tools/ant/types/XMLCatalog.java
  
  Index: XMLCatalog.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/types/XMLCatalog.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- XMLCatalog.java	2 Dec 2002 16:06:09 -0000	1.18
  +++ XMLCatalog.java	2 Dec 2002 16:30:50 -0000	1.19
  @@ -308,14 +308,14 @@
        * if this is a reference and no nested elements are allowed.
        */
       public Path createCatalogPath() {
  -      if (isReference()) {
  -        throw noChildrenAllowed();
  -      }
  -      if (this.catalogPath == null) {
  -        this.catalogPath = new Path(getProject());
  -      }
  -      setChecked( false );
  -      return this.catalogPath.createPath();
  +        if (isReference()) {
  +            throw noChildrenAllowed();
  +        }
  +        if (this.catalogPath == null) {
  +            this.catalogPath = new Path(getProject());
  +        }
  +        setChecked( false );
  +        return this.catalogPath.createPath();
       }
   
       /**
  @@ -837,7 +837,7 @@
   
           public InternalResolver() {
               log("Apache resolver library not found, internal resolver will be used",
  -                Project.MSG_INFO);
  +                Project.MSG_VERBOSE);
           }
   
           public InputSource resolveEntity(String publicId,
  @@ -979,7 +979,7 @@
               }
   
               log("Apache resolver library found, xml-commons resolver will be used",
  -                Project.MSG_INFO);
  +                Project.MSG_VERBOSE);
           }
   
           public InputSource resolveEntity(String publicId,
  
  
  
  1.9       +2 -2      jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/optional/XmlValidateTest.java
  
  Index: XmlValidateTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/optional/XmlValidateTest.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XmlValidateTest.java	2 Dec 2002 16:06:09 -0000	1.8
  +++ XmlValidateTest.java	2 Dec 2002 16:30:51 -0000	1.9
  @@ -129,7 +129,7 @@
        * entity
        */
       public void testXmlCatalogFiles() {
  -      executeTarget("xmlcatalogfiles");
  +        executeTarget("xmlcatalogfiles");
       }
   
       /**
  @@ -140,7 +140,7 @@
        * dtd with the same entity
        */
       public void testXmlCatalogPath() {
  -      executeTarget("xmlcatalogpath");
  +        executeTarget("xmlcatalogpath");
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message