Author: mrglavas
Date: Sun Apr 25 17:08:44 2010
New Revision: 937828
URL: http://svn.apache.org/viewvc?rev=937828&view=rev
Log:
Block extension / instantiation of FilePathToURI.
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/FilePathToURI.java
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/FilePathToURI.java
URL:
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/FilePathToURI.java?rev=937828&r1=937827&r2=937828&view=diff
==============================================================================
---
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/FilePathToURI.java
(original)
+++
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/FilePathToURI.java
Sun Apr 25 17:08:44 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: [email protected]
For additional commands, e-mail: [email protected]