db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r476764 - /db/torque/runtime/trunk/src/java/org/apache/torque/Torque.java
Date Sun, 19 Nov 2006 08:09:09 GMT
Author: tfischer
Date: Sun Nov 19 00:09:08 2006
New Revision: 476764

URL: http://svn.apache.org/viewvc?view=rev&rev=476764
Log:
Reverted access to the constructor of the Torque class to public, as the turbine stratum component
might use it.

Modified:
    db/torque/runtime/trunk/src/java/org/apache/torque/Torque.java

Modified: db/torque/runtime/trunk/src/java/org/apache/torque/Torque.java
URL: http://svn.apache.org/viewvc/db/torque/runtime/trunk/src/java/org/apache/torque/Torque.java?view=diff&rev=476764&r1=476763&r2=476764
==============================================================================
--- db/torque/runtime/trunk/src/java/org/apache/torque/Torque.java (original)
+++ db/torque/runtime/trunk/src/java/org/apache/torque/Torque.java Sun Nov 19 00:09:08 2006
@@ -41,7 +41,7 @@
  * @author <a href="mailto:kschrader@karmalab.org">Kurt Schrader</a>
  * @version $Id$
  */
-public class Torque
+public abstract class Torque
 {
     /**
      * The prefix for all configuration keys used by Torque.
@@ -90,12 +90,11 @@
     private static TorqueInstance torqueSingleton = null;
 
     /**
-     * Private constructor to prevent instantiation.
+     * C'tor for usage with the Stratum Lifecycle.
      *
-     * Class contains only static method ans should therefore not be
-     * instantiated.
+     * TODO: Should be made private or protected once Stratum is removed.
      */
-    private Torque()
+    public Torque()
     {
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message