You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2010/04/25 19:08:25 UTC

svn commit: r937826 - /xerces/java/trunk/src/org/apache/xerces/impl/xs/FilePathToURI.java

Author: mrglavas
Date: Sun Apr 25 17:08:24 2010
New Revision: 937826

URL: http://svn.apache.org/viewvc?rev=937826&view=rev
Log:
Block extension / instantiation of FilePathToURI.

Modified:
    xerces/java/trunk/src/org/apache/xerces/impl/xs/FilePathToURI.java

Modified: xerces/java/trunk/src/org/apache/xerces/impl/xs/FilePathToURI.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/xs/FilePathToURI.java?rev=937826&r1=937825&r2=937826&view=diff
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/impl/xs/FilePathToURI.java (original)
+++ xerces/java/trunk/src/org/apache/xerces/impl/xs/FilePathToURI.java Sun Apr 25 17:08:24 2010
@@ -17,7 +17,7 @@
 
 package org.apache.xerces.impl.xs;
 
-class FilePathToURI {
+final class FilePathToURI {
 
     // which ASCII characters need to be escaped
     private static boolean gNeedEscaping[] = new boolean[128];
@@ -48,6 +48,8 @@ class FilePathToURI {
             gAfterEscaping2[ch] = gHexChs[ch & 0xf];
         }
     }
+    
+    private FilePathToURI() {}
 
     // To escape a file path to a URI, by using %HH to represent
     // special ASCII characters: 0x00~0x1F, 0x7F, ' ', '<', '>', '#', '%'



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org