From bc8637f63841152fb82efba793971b829f720a50 Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Sat, 27 Nov 2010 01:18:36 +0000 Subject: [PATCH] Issue 257 - Don't return a String where a Date is required (using generics in Criterion API would prevent this kind of problem, but that's incompatible with the use of the Eval_Error class) git-svn-id: http://google-refine.googlecode.com/svn/trunk@1933 7d457c2a-affb-35e4-300a-418c747d4874 --- main/src/com/google/refine/sorting/DateCriterion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/com/google/refine/sorting/DateCriterion.java b/main/src/com/google/refine/sorting/DateCriterion.java index 28e1d8c48..b3e47f46d 100644 --- a/main/src/com/google/refine/sorting/DateCriterion.java +++ b/main/src/com/google/refine/sorting/DateCriterion.java @@ -56,7 +56,7 @@ public class DateCriterion extends Criterion { return s_error; } } - return value; + return null; } @Override