From 915453aaafe9d1aed8685bd3d3ec5efaa90f33d7 Mon Sep 17 00:00:00 2001 From: rwisser Date: Tue, 27 Dec 2016 12:09:13 +0000 Subject: [PATCH] reverted git-svn-id: https://svn.code.sf.net/p/jailer/code/trunk@1130 3dd849cd-670e-4645-a7cd-dd197c8d0e81 --- .../databrowser/TableContentViewFilter.java | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/src/main/net/sf/jailer/ui/databrowser/TableContentViewFilter.java b/src/main/net/sf/jailer/ui/databrowser/TableContentViewFilter.java index d0f561103..4c050cda5 100644 --- a/src/main/net/sf/jailer/ui/databrowser/TableContentViewFilter.java +++ b/src/main/net/sf/jailer/ui/databrowser/TableContentViewFilter.java @@ -85,27 +85,12 @@ public Object filter(Object[] object, Map name) { bindings.put("object", object); bindings.put("name", name); bindings.put("df", df); - // script.eval(bindings); - Integer i; - i = name.get("angelegt"); - if (i != null) { - object[i.intValue()] = df.format(new java.util.Date(parseInt(object[i.intValue()].toString()))); - } - - i = name.get("geaendert"); - if (i != null) { - object[i.intValue()] = df.format(new java.util.Date(parseInt(object[i.intValue()].toString()))); - } - - + script.eval(bindings); } catch (Exception e) { + e.printStackTrace(); } return object; } - private long parseInt(String string) { - return Long.parseLong(string); - } - }