Skip to content

Commit 915453a

Browse files
author
rwisser
committed
reverted
git-svn-id: https://svn.code.sf.net/p/jailer/code/trunk@1130 3dd849cd-670e-4645-a7cd-dd197c8d0e81
1 parent e8e956f commit 915453a

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

src/main/net/sf/jailer/ui/databrowser/TableContentViewFilter.java

+2-17
Original file line numberDiff line numberDiff line change
@@ -85,27 +85,12 @@ public Object filter(Object[] object, Map<String, Integer> name) {
8585
bindings.put("object", object);
8686
bindings.put("name", name);
8787
bindings.put("df", df);
88-
// script.eval(bindings);
89-
Integer i;
90-
i = name.get("angelegt");
91-
if (i != null) {
92-
object[i.intValue()] = df.format(new java.util.Date(parseInt(object[i.intValue()].toString())));
93-
}
94-
95-
i = name.get("geaendert");
96-
if (i != null) {
97-
object[i.intValue()] = df.format(new java.util.Date(parseInt(object[i.intValue()].toString())));
98-
}
99-
100-
88+
script.eval(bindings);
10189
} catch (Exception e) {
90+
e.printStackTrace();
10291

10392
}
10493
return object;
10594
}
10695

107-
private long parseInt(String string) {
108-
return Long.parseLong(string);
109-
}
110-
11196
}

0 commit comments

Comments
 (0)