ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xav...@apache.org
Subject svn commit: r632322 - in /ant/ivy/core/trunk/src/java/org/apache/ivy/util: XMLHelper.java url/BasicURLHandler.java
Date Fri, 29 Feb 2008 14:03:11 GMT
Author: xavier
Date: Fri Feb 29 06:03:10 2008
New Revision: 632322

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

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/util/XMLHelper.java
    ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/BasicURLHandler.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/util/XMLHelper.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/util/XMLHelper.java?rev=632322&r1=632321&r2=632322&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/util/XMLHelper.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/util/XMLHelper.java Fri Feb 29 06:03:10 2008
@@ -110,7 +110,7 @@
     public static void parse(
             InputStream xmlStream, URL schema, DefaultHandler handler, LexicalHandler lHandler)

             throws SAXException, IOException, ParserConfigurationException {
-        parse(new InputSource(xmlStream), schema, handler, lHandler );
+        parse(new InputSource(xmlStream), schema, handler, lHandler);
     }
 
     public static void parse(

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/BasicURLHandler.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/BasicURLHandler.java?rev=632322&r1=632321&r2=632322&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/BasicURLHandler.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/util/url/BasicURLHandler.java Fri Feb 29 06:03:10
2008
@@ -38,10 +38,13 @@
 
     private static final int BUFFER_SIZE = 64 * 1024;
 
-    private static class HttpStatus {
+    private static final class HttpStatus {
         static final int SC_OK = 200;
 
         static final int SC_PROXY_AUTHENTICATION_REQUIRED = 407;
+        
+        private HttpStatus() {
+        }
     }
 
     public BasicURLHandler() {



Mime
View raw message