You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ma...@apache.org on 2008/09/24 23:41:42 UTC

svn commit: r698749 - in /ant/ivy/core/trunk/src/java/org/apache/ivy: core/settings/XmlSettingsParser.java util/url/URLHandlerDispatcher.java

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);
         }