ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/types XMLCatalog.java
Date Mon, 14 Mar 2005 17:39:29 GMT
peterreilly    2005/03/14 09:39:29

  Modified:    src/main/org/apache/tools/ant/types XMLCatalog.java
  Log:
  linelength
  
  Revision  Changes    Path
  1.44      +4 -2      ant/src/main/org/apache/tools/ant/types/XMLCatalog.java
  
  Index: XMLCatalog.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/XMLCatalog.java,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- XMLCatalog.java	6 Jan 2005 12:05:08 -0000	1.43
  +++ XMLCatalog.java	14 Mar 2005 17:39:29 -0000	1.44
  @@ -660,7 +660,8 @@
           try {
               url = new URL(baseURL, uri);
           } catch (MalformedURLException ex) {
  -            // this processing is useful under Windows when the location of the DTD has
been given as an absolute path
  +            // this processing is useful under Windows when the location of the DTD
  +            // has been given as an absolute path
               // see Bugzilla Report 23913
               File testFile = new File(uri);
               if (testFile.exists() && testFile.canRead()) {
  @@ -669,7 +670,8 @@
                   try {
                       url = FILE_UTILS.getFileURL(testFile);
                   } catch (MalformedURLException ex1) {
  -                    throw new BuildException("could not find an URL for :" + testFile.getAbsolutePath());
  +                    throw new BuildException(
  +                        "could not find an URL for :" + testFile.getAbsolutePath());
                   }
               } else {
                   log("uri : '"
  
  
  

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


Mime
View raw message