ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xav...@apache.org
Subject svn commit: r649074 - in /ant/ivy/core/trunk/src/java/org/apache/ivy: ant/IvyReport.java core/settings/XmlSettingsParser.java
Date Thu, 17 Apr 2008 12:52:20 GMT
Author: xavier
Date: Thu Apr 17 05:52:17 2008
New Revision: 649074

URL: http://svn.apache.org/viewvc?rev=649074&view=rev
Log:
fix style

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyReport.java
    ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/XmlSettingsParser.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyReport.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyReport.java?rev=649074&r1=649073&r2=649074&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyReport.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyReport.java Thu Apr 17 05:52:17 2008
@@ -280,14 +280,17 @@
             try {
                 parser.parse(reportFile);
             } catch (ParseException e) {
-                throw new BuildException("Error occurred while parsing reportfile '" + reportFile.getAbsolutePath()
+ "'", e);
+                throw new BuildException(
+                    "Error occurred while parsing reportfile '" 
+                    + reportFile.getAbsolutePath() + "'", e);
             }
             
             // get the resolve module
             mRevId = parser.getResolvedModule();
         }
         
-        return IvyPatternHelper.substitute(outputpattern, mRevId.getOrganisation(), mRevId.getName(),
+        return IvyPatternHelper.substitute(
+            outputpattern, mRevId.getOrganisation(), mRevId.getName(),
             mRevId.getRevision(), "", "", ext, conf, mRevId.getAttributes());
     }
 

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/XmlSettingsParser.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/XmlSettingsParser.java?rev=649074&r1=649073&r2=649074&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/XmlSettingsParser.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/XmlSettingsParser.java Thu Apr
17 05:52:17 2008
@@ -372,7 +372,7 @@
                     try {
                         //First asume that it is an absolute URL
                         settingsURL = new URL(propFilePath);
-                    } catch(MalformedURLException e) {
+                    } catch (MalformedURLException e) {
                         //If that fail, it may be because it is a relative one.
                         settingsURL = new URL(this.settings , propFilePath);
                     }



Mime
View raw message