ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r698749 - in /ant/ivy/core/trunk/src/java/org/apache/ivy: core/settings/XmlSettingsParser.java util/url/URLHandlerDispatcher.java
Date Wed, 24 Sep 2008 21:41:42 GMT
Author: maartenc
Date: Wed Sep 24 14:41:42 2008
New Revision: 698749

URL: http://svn.apache.org/viewvc?rev=698749&view=rev
Log:
Style fixes

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/XmlSettingsParser.java
    ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/URLHandlerDispatcher.java

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=698749&r1=698748&r2=698749&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 Wed Sep
24 14:41:42 2008
@@ -372,8 +372,8 @@
         } else if ("get".equalsIgnoreCase(requestMethod)) {
             URLHandlerRegistry.getHttp().setRequestMethod(URLHandler.REQUEST_METHOD_GET);
         } else if ((requestMethod != null) && (requestMethod.trim().length() >
0)) {
-            throw new IllegalArgumentException("Invalid httpRequestMethod specified, must
be " +
-            		"one of {'HEAD', 'GET'}");
+            throw new IllegalArgumentException("Invalid httpRequestMethod specified, must
be " 
+                + "one of {'HEAD', 'GET'}");
         }
     }
 

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/URLHandlerDispatcher.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/URLHandlerDispatcher.java?rev=698749&r1=698748&r2=698749&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/URLHandlerDispatcher.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/URLHandlerDispatcher.java Wed Sep
24 14:41:42 2008
@@ -84,7 +84,7 @@
     
     public void setRequestMethod(int requestMethod) {
         defaultHandler.setRequestMethod(requestMethod);
-        for (Iterator it = handlers.values().iterator(); it.hasNext(); ) {
+        for (Iterator it = handlers.values().iterator(); it.hasNext();) {
             URLHandler handler = (URLHandler) it.next();
             handler.setRequestMethod(requestMethod);
         }



Mime
View raw message