db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1348578 - /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Torque.java
Date Sun, 10 Jun 2012 12:29:42 GMT
Author: tfischer
Date: Sun Jun 10 12:29:41 2012
New Revision: 1348578

URL: http://svn.apache.org/viewvc?rev=1348578&view=rev
Log:
make instance access unsynchronized

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

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Torque.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Torque.java?rev=1348578&r1=1348577&r2=1348578&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Torque.java (original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Torque.java Sun
Jun 10 12:29:41 2012
@@ -100,7 +100,7 @@ public final class Torque
      *
      * @return Our singleton.
      */
-    public static synchronized TorqueInstance getInstance()
+    public static TorqueInstance getInstance()
     {
         if (torqueSingleton == null)
         {
@@ -116,7 +116,7 @@ public final class Torque
      *
      * @param instance Our singleton.
      */
-    public static synchronized void setInstance(TorqueInstance instance)
+    public static void setInstance(TorqueInstance instance)
     {
         torqueSingleton = instance;
     }



---------------------------------------------------------------------
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