aboutsummaryrefslogtreecommitdiffstats
path: root/tests/com/iciql/test
diff options
context:
space:
mode:
authorJames Moger <james.moger@gmail.com>2011-12-06 08:51:45 -0500
committerJames Moger <james.moger@gmail.com>2011-12-06 08:51:45 -0500
commit0b94e39b872246774fe2f3a0d507f7c134a9d6b4 (patch)
tree8ad2660a9f318644a5944d26f0242a8bd50f5763 /tests/com/iciql/test
parentad70685918aac114a4babd9a1a0e0217b6323df0 (diff)
downloadiciql-0b94e39b872246774fe2f3a0d507f7c134a9d6b4.tar.gz
iciql-0b94e39b872246774fe2f3a0d507f7c134a9d6b4.zip
Improved fluent/type-safety of join statements
Diffstat (limited to 'tests/com/iciql/test')
-rw-r--r--tests/com/iciql/test/JoinTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/com/iciql/test/JoinTest.java b/tests/com/iciql/test/JoinTest.java
index 018d721..ceb2ad5 100644
--- a/tests/com/iciql/test/JoinTest.java
+++ b/tests/com/iciql/test/JoinTest.java
@@ -28,7 +28,6 @@ import org.junit.Test;
import com.iciql.Db;
import com.iciql.Iciql.IQColumn;
import com.iciql.Iciql.IQTable;
-import com.iciql.util.IciqlLogger;
/**
* Tests of Joins.
@@ -79,7 +78,7 @@ public class JoinTest {
final UserNote n = new UserNote();
// this query returns 1 UserId if the user has a note
- List<UserId> users = (List<UserId>) db.from(u).innerJoin(n).on(u.id).is(n.userId).groupBy(u.id).where(u.id).is(2).select();
+ List<UserId> users = db.from(u).innerJoin(n).on(u.id).is(n.userId).groupBy(u.id).where(u.id).is(2).select();
db.dropTable(UserId.class);
db.dropTable(UserNote.class);