xml-commons-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mrgla...@apache.org
Subject svn commit: r424771 - in /xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml: parsers/FactoryFinder.java parsers/SecuritySupport12.java transform/FactoryFinder.java transform/SecuritySupport12.java
Date Sun, 23 Jul 2006 17:51:17 GMT
Author: mrglavas
Date: Sun Jul 23 10:51:16 2006
New Revision: 424771

URL: http://svn.apache.org/viewvc?rev=424771&view=rev
Log:
Minor improvements to the JAXP 1.2 FactoryFinder and SecuritySupport classes:
- Prevent instantiation of the FactoryFinders
- Mark FactoryFinder and SecuritySupport12 as final

Modified:
    xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/parsers/FactoryFinder.java
    xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/parsers/SecuritySupport12.java
    xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/transform/FactoryFinder.java
    xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/transform/SecuritySupport12.java

Modified: xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/parsers/FactoryFinder.java
URL: http://svn.apache.org/viewvc/xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/parsers/FactoryFinder.java?rev=424771&r1=424770&r2=424771&view=diff
==============================================================================
--- xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/parsers/FactoryFinder.java
(original)
+++ xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/parsers/FactoryFinder.java
Sun Jul 23 10:51:16 2006
@@ -41,7 +41,8 @@
  *
  * @author Edwin Goei
  */
-class FactoryFinder {
+final class FactoryFinder {
+    
     /** Controls debugging output to stderr */
     private static boolean debug;
 
@@ -67,6 +68,8 @@
             debug = false;
         }
     }
+    
+    private FactoryFinder() {}
 
     /**
      * Main entry point.  Finds and creates a new instance of a concrete

Modified: xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/parsers/SecuritySupport12.java
URL: http://svn.apache.org/viewvc/xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/parsers/SecuritySupport12.java?rev=424771&r1=424770&r2=424771&view=diff
==============================================================================
--- xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/parsers/SecuritySupport12.java
(original)
+++ xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/parsers/SecuritySupport12.java
Sun Jul 23 10:51:16 2006
@@ -32,7 +32,7 @@
  *
  * Security related methods that only work on J2SE 1.2 and newer.
  */
-class SecuritySupport12 extends SecuritySupport {
+final class SecuritySupport12 extends SecuritySupport {
 
     public ClassLoader getContextClassLoader() {
 	return (ClassLoader)

Modified: xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/transform/FactoryFinder.java
URL: http://svn.apache.org/viewvc/xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/transform/FactoryFinder.java?rev=424771&r1=424770&r2=424771&view=diff
==============================================================================
--- xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/transform/FactoryFinder.java
(original)
+++ xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/transform/FactoryFinder.java
Sun Jul 23 10:51:16 2006
@@ -41,7 +41,8 @@
  *
  * @author Edwin Goei
  */
-class FactoryFinder {
+final class FactoryFinder {
+    
     /** Controls debugging output to stderr */
     private static boolean debug;
 
@@ -67,6 +68,8 @@
             debug = false;
         }
     }
+    
+    private FactoryFinder() {}
 
     /**
      * Main entry point.  Finds and creates a new instance of a concrete

Modified: xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/transform/SecuritySupport12.java
URL: http://svn.apache.org/viewvc/xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/transform/SecuritySupport12.java?rev=424771&r1=424770&r2=424771&view=diff
==============================================================================
--- xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/transform/SecuritySupport12.java
(original)
+++ xml/commons/branches/tck-jaxp-1_2_0/java/external/src/javax/xml/transform/SecuritySupport12.java
Sun Jul 23 10:51:16 2006
@@ -32,7 +32,7 @@
  *
  * Security related methods that only work on J2SE 1.2 and newer.
  */
-class SecuritySupport12 extends SecuritySupport {
+final class SecuritySupport12 extends SecuritySupport {
 
     public ClassLoader getContextClassLoader() {
 	return (ClassLoader)



Mime
View raw message