mpoeschl 2003/06/24 04:10:32
Modified: src/generator/src/java/org/apache/torque/engine/database/model
TypeMap.java
Log:
isInitialized == false ==> !isInitialized
Revision Changes Path
1.2 +10 -10
db-torque/src/generator/src/java/org/apache/torque/engine/database/model/TypeMap.java
Index: TypeMap.java
===================================================================
RCS file:
/home/cvs/db-torque/src/generator/src/java/org/apache/torque/engine/database/model/TypeMap.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TypeMap.java 10 Feb 2003 13:20:58 -0000 1.1
+++ TypeMap.java 24 Jun 2003 11:10:32 -0000 1.2
@@ -268,7 +268,7 @@
*/
public synchronized static void initialize()
{
- if (isInitialized == false)
+ if (!isInitialized)
{
/*
* Create JDBC -> Java object mappings.
@@ -503,7 +503,7 @@
public static String getJavaObject(String jdbcType)
{
// Make sure the we are initialized.
- if (isInitialized == false)
+ if (!isInitialized)
{
initialize();
}
@@ -520,7 +520,7 @@
public static String getJavaNative(String jdbcType)
{
// Make sure the we are initialized.
- if (isInitialized == false)
+ if (!isInitialized)
{
initialize();
}
@@ -537,7 +537,7 @@
public static String getJavaNativeObject(String jdbcType)
{
// Make sure the we are initialized.
- if (isInitialized == false)
+ if (!isInitialized)
{
initialize();
}
@@ -559,7 +559,7 @@
public static String getVillageMethod(String jdbcType)
{
// Make sure the we are initialized.
- if (isInitialized == false)
+ if (!isInitialized)
{
initialize();
}
@@ -576,7 +576,7 @@
public static String getVillageObjectMethod(String jdbcType)
{
// Make sure the we are initialized.
- if (isInitialized == false)
+ if (!isInitialized)
{
initialize();
}
@@ -598,7 +598,7 @@
public static String getPPMethod(String jdbcType)
{
// Make sure the we are initialized.
- if (isInitialized == false)
+ if (!isInitialized)
{
initialize();
}
@@ -614,7 +614,7 @@
public static String getJdbcType(String type)
{
// Make sure the we are initialized.
- if (isInitialized == false)
+ if (!isInitialized)
{
initialize();
}
@@ -631,7 +631,7 @@
public static String getTorqueType(Integer sqlType)
{
// Make sure the we are initialized.
- if (isInitialized == false)
+ if (!isInitialized)
{
initialize();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]