From eb6cbd28992cec9025a8e95f8f03ae3839699e0b Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 19 Jan 2013 09:40:14 +0100 Subject: o Reverting the timestamp => createdDate change, it was wrong. Adding ability to sort on timestamp. Created date is when we discovered the build, the timestamp is when Jenkins did the build. --- src/main/java/io/trygvis/esper/testing/Daos.java | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/main/java/io/trygvis/esper/testing/Daos.java') diff --git a/src/main/java/io/trygvis/esper/testing/Daos.java b/src/main/java/io/trygvis/esper/testing/Daos.java index 1a7cb0b..0242a3a 100755 --- a/src/main/java/io/trygvis/esper/testing/Daos.java +++ b/src/main/java/io/trygvis/esper/testing/Daos.java @@ -9,21 +9,6 @@ import java.sql.*; public class Daos implements Closeable { - public enum OrderDirection { - ASC, DESC, NONE; - - public String toSql(String expression) { - switch (this) { - case ASC: - return expression + "expression"; - case DESC: - return expression + "expression DESC"; - default: - return "1"; - } - } - } - private final Connection connection; public final FileDao fileDao; public final GitoriousEventDao gitoriousEventDao; -- cgit v1.2.3