diff options
author | James Moger <james.moger@gmail.com> | 2011-08-12 14:55:02 -0400 |
---|---|---|
committer | James Moger <james.moger@gmail.com> | 2011-08-12 14:55:02 -0400 |
commit | 373a5c74f4c5e8cc19812a63893f6090d8f14b95 (patch) | |
tree | 249d858e377a95be68942e061cf97e91808a5601 /src | |
parent | 783797ff9ddfafa19481fda5295fcacd3c9b51cd (diff) | |
download | iciql-373a5c74f4c5e8cc19812a63893f6090d8f14b95.tar.gz iciql-373a5c74f4c5e8cc19812a63893f6090d8f14b95.zip |
Documentation. Source cleanup. Prepare 0.6.4 release.v0.6.4
Diffstat (limited to 'src')
-rw-r--r-- | src/com/iciql/Constants.java | 4 | ||||
-rw-r--r-- | src/com/iciql/Define.java | 6 | ||||
-rw-r--r-- | src/com/iciql/util/JdbcUtils.java | 1 |
3 files changed, 7 insertions, 4 deletions
diff --git a/src/com/iciql/Constants.java b/src/com/iciql/Constants.java index 917fcb0..23f42d2 100644 --- a/src/com/iciql/Constants.java +++ b/src/com/iciql/Constants.java @@ -25,11 +25,11 @@ public class Constants { // The build script extracts this exact line so be careful editing it
// and only use A-Z a-z 0-9 .-_ in the string.
- public static final String VERSION = "0.6.4-SNAPSHOT";
+ public static final String VERSION = "0.6.4";
// The build script extracts this exact line so be careful editing it
// and only use A-Z a-z 0-9 .-_ in the string.
- public static final String VERSION_DATE = "PENDING";
+ public static final String VERSION_DATE = "2011-08-12";
// The build script extracts this exact line so be careful editing it
// and only use A-Z a-z 0-9 .-_ in the string.
diff --git a/src/com/iciql/Define.java b/src/com/iciql/Define.java index 5e969e1..aa05872 100644 --- a/src/com/iciql/Define.java +++ b/src/com/iciql/Define.java @@ -63,7 +63,7 @@ public class Define { checkInDefine();
currentTableDefinition.setLength(column, length);
}
-
+
public static void scale(Object column, int scale) {
checkInDefine();
currentTableDefinition.setScale(column, scale);
@@ -74,6 +74,7 @@ public class Define { currentTableDefinition.setTableName(tableName);
}
+ @SuppressWarnings("deprecation")
static synchronized <T> void define(TableDefinition<T> tableDefinition, Iciql table) {
currentTableDefinition = tableDefinition;
currentTable = table;
@@ -86,7 +87,8 @@ public class Define { private static void checkInDefine() {
if (currentTable == null) {
throw new IciqlException("This method may only be called "
- + "from within the define() method, and the define() method " + "is called by the framework.");
+ + "from within the define() method, and the define() method "
+ + "is called by the framework.");
}
}
diff --git a/src/com/iciql/util/JdbcUtils.java b/src/com/iciql/util/JdbcUtils.java index edf21e8..4ef006e 100644 --- a/src/com/iciql/util/JdbcUtils.java +++ b/src/com/iciql/util/JdbcUtils.java @@ -23,6 +23,7 @@ import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.Properties; + import javax.naming.Context; import javax.sql.DataSource; import javax.sql.XAConnection; |