From 373a5c74f4c5e8cc19812a63893f6090d8f14b95 Mon Sep 17 00:00:00 2001 From: James Moger Date: Fri, 12 Aug 2011 14:55:02 -0400 Subject: Documentation. Source cleanup. Prepare 0.6.4 release. --- src/com/iciql/Constants.java | 4 ++-- src/com/iciql/Define.java | 6 ++++-- src/com/iciql/util/JdbcUtils.java | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src') 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 void define(TableDefinition 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; -- cgit v1.2.3