diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-01-19 09:40:14 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-01-19 09:40:14 +0100 |
commit | eb6cbd28992cec9025a8e95f8f03ae3839699e0b (patch) | |
tree | d3c1f1416da2ae36894d3087a75f3c1d7f280fad /src/main/java/io/trygvis/esper/testing/Util.java | |
parent | 17be3886fbee46c34f1ea78cd32d5726e538e641 (diff) | |
download | esper-testing-eb6cbd28992cec9025a8e95f8f03ae3839699e0b.tar.gz esper-testing-eb6cbd28992cec9025a8e95f8f03ae3839699e0b.tar.bz2 esper-testing-eb6cbd28992cec9025a8e95f8f03ae3839699e0b.tar.xz esper-testing-eb6cbd28992cec9025a8e95f8f03ae3839699e0b.zip |
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.
Diffstat (limited to 'src/main/java/io/trygvis/esper/testing/Util.java')
-rwxr-xr-x | src/main/java/io/trygvis/esper/testing/Util.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/io/trygvis/esper/testing/Util.java b/src/main/java/io/trygvis/esper/testing/Util.java index 68660c4..849a6f9 100755 --- a/src/main/java/io/trygvis/esper/testing/Util.java +++ b/src/main/java/io/trygvis/esper/testing/Util.java @@ -77,6 +77,10 @@ public class Util { // SQL // ----------------------------------------------------------------------- + public static String orderBy(String[] inputs, String... allowed) { + return orderBy(Arrays.asList(inputs), allowed); + } + public static String orderBy(Iterable<String> inputs, String... allowed) { StringBuilder buffer = new StringBuilder(); |