Skip to content

Commit

Permalink
reverted
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/jailer/code/trunk@1130 3dd849cd-670e-4645-a7cd-dd197c8d0e81
  • Loading branch information
rwisser committed Dec 27, 2016
1 parent e8e956f commit 915453a
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions src/main/net/sf/jailer/ui/databrowser/TableContentViewFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,27 +85,12 @@ public Object filter(Object[] object, Map<String, Integer> 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);
}

}

0 comments on commit 915453a

Please sign in to comment.