ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r591341 - in /ant/core/trunk: build.xml src/main/org/apache/tools/ant/launch/Locator.java
Date Fri, 02 Nov 2007 14:11:45 GMT
Author: mbenson
Date: Fri Nov  2 07:11:44 2007
New Revision: 591341

URL: http://svn.apache.org/viewvc?rev=591341&view=rev
Log:
default access precedent for testcase access

Modified:
    ant/core/trunk/build.xml
    ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java

Modified: ant/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/build.xml?rev=591341&r1=591340&r2=591341&view=diff
==============================================================================
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Fri Nov  2 07:11:44 2007
@@ -1860,6 +1860,8 @@
             unless="tests.and.ant.share.classloader"/>
           <exclude name="${taskdefs.package}/ProtectedJarMethodsTest.java"
             unless="tests.and.ant.share.classloader"/>
+          <exclude name="${ant.package}/launch/LocatorTest.java"
+            unless="tests.and.ant.share.classloader"/>
 
           <!-- can only run if cvs is installed on your machine
                enable by setting the property have.cvs

Modified: ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java?rev=591341&r1=591340&r2=591341&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java Fri Nov  2 07:11:44 2007
@@ -51,11 +51,8 @@
     private static final int NIBBLE = 4;
     private static final int NIBBLE_MASK   = 0xF;
 
-    private static final int ASCII = 7;
     private static final int ASCII_SIZE = 128;
 
-    private static final int BYTE = 8;
-    private static final int BYTE_MASK = 0xFF;
     private static final int BYTE_SIZE = 256;
 
     private static final int WORD = 16;
@@ -242,12 +239,12 @@
     }
 
     /**
-     * This is only public for testing purposes, so its use is strongly discouraged.
+     * package-private for testing in same classloader
      * @param uri uri to expand
      * @return the decoded URI
      * @since Ant1.7.1
      */
-    public static String fromURIJava13(String uri) {
+    static String fromURIJava13(String uri) {
         // Fallback method for Java 1.3 or earlier.
 
         URL url = null;



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


Mime
View raw message