db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fox <Thomas....@seitenbau.net>
Subject Re: svn commit: r1348314 - /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/Torque.java
Date Sun, 10 Jun 2012 12:33:34 GMT


Thomas Vandahl wrote:

>On 09.06.12 05:44, tfischer@apache.org wrote:
> -    public static TorqueInstance getInstance()
> +    public static synchronized TorqueInstance getInstance()

Yikes. This is tough. Are you absolutely sure this is necessary?

No, thinking again about it, it is not necessary from a practical point of
view.
I was mislead by the synchronized setter of TorqueInstance.
I have removed the synchronization from both the getter and the setter
(r1348578).

   Thanks for noting,

        Thomas


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