jmcnally 2002/06/22 15:17:55
Modified: src/java/org/apache/torque Torque.java
Log:
move the second lookup inside the if (m == null) block so that it does not
always get executed twice. Thanks again to Stephen Haberman <[EMAIL PROTECTED]>
Revision Changes Path
1.64 +4 -4 jakarta-turbine-torque/src/java/org/apache/torque/Torque.java
Index: Torque.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/Torque.java,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- Torque.java 22 Jun 2002 22:04:21 -0000 1.63
+++ Torque.java 22 Jun 2002 22:17:55 -0000 1.64
@@ -631,10 +631,10 @@
{
category.error(e.getMessage(), e);
}
- }
- // Try again now that the default manager should be in the map
- m = (AbstractBaseManager) managers.get(name);
+ // Try again now that the default manager should be in the map
+ m = (AbstractBaseManager) managers.get(name);
+ }
return m;
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>