aboutsummaryrefslogtreecommitdiffstats
path: root/tests/com/iciql/test/models
diff options
context:
space:
mode:
authorJames Moger <james.moger@gmail.com>2011-08-08 12:03:10 -0400
committerJames Moger <james.moger@gmail.com>2011-08-08 12:03:10 -0400
commitd5a74dcac41eeb96a656b7033e43d51b92f75d18 (patch)
tree2fb7d174ddbf0c2fea64666917d992daae00398f /tests/com/iciql/test/models
parent35973f16d6e408fff3e9eeeda4dac4ab3f7cb048 (diff)
downloadiciql-d5a74dcac41eeb96a656b7033e43d51b92f75d18.tar.gz
iciql-d5a74dcac41eeb96a656b7033e43d51b92f75d18.zip
Fixed first enum constant special case. (issue 4)
Diffstat (limited to 'tests/com/iciql/test/models')
-rw-r--r--tests/com/iciql/test/models/EnumModels.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/com/iciql/test/models/EnumModels.java b/tests/com/iciql/test/models/EnumModels.java
index e5f6f39..40b7806 100644
--- a/tests/com/iciql/test/models/EnumModels.java
+++ b/tests/com/iciql/test/models/EnumModels.java
@@ -54,7 +54,7 @@ public abstract class EnumModels {
@IQColumn(primaryKey = true)
public Integer id;
-
+
public abstract Tree tree();
/**
@@ -106,7 +106,7 @@ public abstract class EnumModels {
this.id = id;
this.tree = tree;
}
-
+
@Override
public Tree tree() {
return tree;
@@ -143,7 +143,7 @@ public abstract class EnumModels {
public Tree tree() {
return tree;
}
-
+
public static List<EnumStringModel> createList() {
return Arrays.asList(new EnumStringModel(400, Tree.WALNUT), new EnumStringModel(200, Tree.OAK),
new EnumStringModel(500, Tree.MAPLE), new EnumStringModel(300, Tree.BIRCH),