uima-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r1084995 - /uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/CFEConfigFromXML_XMLBeans.java
Date Thu, 24 Mar 2011 15:20:26 GMT
Author: schor
Date: Thu Mar 24 15:20:26 2011
New Revision: 1084995

URL: http://svn.apache.org/viewvc?rev=1084995&view=rev
Log:
[UIMA-2097] fix URI handling with quoted otherwise illegal chars - cleanup 

Modified:
    uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/CFEConfigFromXML_XMLBeans.java

Modified: uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/CFEConfigFromXML_XMLBeans.java
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/CFEConfigFromXML_XMLBeans.java?rev=1084995&r1=1084994&r2=1084995&view=diff
==============================================================================
--- uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/CFEConfigFromXML_XMLBeans.java
(original)
+++ uima/sandbox/trunk/ConfigurableFeatureExtractor/src/main/java/org/apache/uima/tools/cfe/CFEConfigFromXML_XMLBeans.java
Thu Mar 24 15:20:26 2011
@@ -23,7 +23,6 @@ import java.io.File;
 import java.io.IOException;
 import java.net.URI;
 import java.net.URISyntaxException;
-import java.net.URL;
 import java.util.ArrayList;
 import java.util.List;
 
@@ -239,16 +238,4 @@ public class CFEConfigFromXML_XMLBeans
       return new URI(s);
     }
 
-    /**
-     * Create a URI from a URL, with proper quoting.
-     * Already quoted things in the input string are not re-quoted.
-     * @param u
-     * @return URI with proper quoting
-     * @throws URISyntaxException 
-     */
-
-    private static URI quote(URL u) throws URISyntaxException {
-      return quote(u.toString());
-    }
-
 }



Mime
View raw message