From d5a74dcac41eeb96a656b7033e43d51b92f75d18 Mon Sep 17 00:00:00 2001 From: James Moger Date: Mon, 8 Aug 2011 12:03:10 -0400 Subject: Fixed first enum constant special case. (issue 4) --- tests/com/iciql/test/models/EnumModels.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/com/iciql/test/models') 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 createList() { return Arrays.asList(new EnumStringModel(400, Tree.WALNUT), new EnumStringModel(200, Tree.OAK), new EnumStringModel(500, Tree.MAPLE), new EnumStringModel(300, Tree.BIRCH), -- cgit v1.2.3