Hi,
Heres a patch to remove a method getDefaultMap() that returns identical
value to getDefaultDB() and is only used in the Torque class.
--
Cheers,
Pete
*-----------------------------------------------------------------------*
PROGRAM: n. a magic spell cast over a computer allowing it to turn
one's input into error messages. v.t. to engage in a pastime similar
to banging one's head against a wall, but with fewer opportunities for
reward.
*-----------------------------------------------------------------------*
Index: Torque.java
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-torque/src/java/org/apache/torque/Torque.java,v
retrieving revision 1.17
diff -u -r1.17 Torque.java
--- Torque.java 2001/09/20 04:51:45 1.17
+++ Torque.java 2001/10/18 02:27:17
@@ -263,7 +263,7 @@
public static DatabaseMap getDatabaseMap()
throws TorqueException
{
- return getDatabaseMap(getDefaultMap());
+ return getDatabaseMap(getDefaultDB());
}
/**
@@ -721,18 +721,6 @@
* Returns the name of the default database.
*/
public static String getDefaultDB()
- {
- if (configuration == null)
- {
- return DEFAULT_NAME;
- }
- return configuration.getString(DATABASE_DEFAULT, DEFAULT_NAME);
- }
-
- /**
- * Returns the name of the default database map.
- */
- public static String getDefaultMap()
{
if (configuration == null)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]