You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-cvs@xml.apache.org by mr...@apache.org on 2008/06/22 01:47:22 UTC
svn commit: r670275 - in /xml/commons/trunk/java/external/src/javax/xml:
parsers/FactoryFinder.java transform/FactoryFinder.java
Author: mrglavas
Date: Sat Jun 21 16:47:21 2008
New Revision: 670275
URL: http://svn.apache.org/viewvc?rev=670275&view=rev
Log:
Adding a few comments.
Modified:
xml/commons/trunk/java/external/src/javax/xml/parsers/FactoryFinder.java
xml/commons/trunk/java/external/src/javax/xml/transform/FactoryFinder.java
Modified: xml/commons/trunk/java/external/src/javax/xml/parsers/FactoryFinder.java
URL: http://svn.apache.org/viewvc/xml/commons/trunk/java/external/src/javax/xml/parsers/FactoryFinder.java?rev=670275&r1=670274&r2=670275&view=diff
==============================================================================
--- xml/commons/trunk/java/external/src/javax/xml/parsers/FactoryFinder.java (original)
+++ xml/commons/trunk/java/external/src/javax/xml/parsers/FactoryFinder.java Sat Jun 21 16:47:21 2008
@@ -39,10 +39,19 @@
*/
final class FactoryFinder {
- /** Temp debug code - this will be removed after we test everything
+ /**
+ * <p>Debug flag to trace loading process.</p>
*/
private static boolean debug = false;
- private static Properties cacheProps= new Properties();
+
+ /**
+ * <p>Cache properties for performance.</p>
+ */
+ private static Properties cacheProps = new Properties();
+
+ /**
+ * <p>First time requires initialization overhead.</p>
+ */
private static boolean firstTime = true;
/**
Modified: xml/commons/trunk/java/external/src/javax/xml/transform/FactoryFinder.java
URL: http://svn.apache.org/viewvc/xml/commons/trunk/java/external/src/javax/xml/transform/FactoryFinder.java?rev=670275&r1=670274&r2=670275&view=diff
==============================================================================
--- xml/commons/trunk/java/external/src/javax/xml/transform/FactoryFinder.java (original)
+++ xml/commons/trunk/java/external/src/javax/xml/transform/FactoryFinder.java Sat Jun 21 16:47:21 2008
@@ -39,10 +39,19 @@
*/
final class FactoryFinder {
- /** Temp debug code - this will be removed after we test everything
+ /**
+ * <p>Debug flag to trace loading process.</p>
*/
private static boolean debug = false;
- private static Properties cacheProps= new Properties();
+
+ /**
+ * <p>Cache properties for performance.</p>
+ */
+ private static Properties cacheProps = new Properties();
+
+ /**
+ * <p>First time requires initialization overhead.</p>
+ */
private static boolean firstTime = true;
/**