d'oh, wrong object counter (thanks again to knut.forkalsrud for spotting my mistakes)
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1250 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
3bb0d3918c
commit
e973fd3e89
@ -22,7 +22,7 @@ public class Diff implements Function {
|
||||
if (o1 instanceof String && o2 instanceof String) {
|
||||
return StringUtils.difference((String) o1,(String) o2);
|
||||
} else if ((o1 instanceof Date || o1 instanceof Calendar) && args.length == 3) {
|
||||
Object o3 = args[3];
|
||||
Object o3 = args[2];
|
||||
if (o3 != null && o3 instanceof String) {
|
||||
try {
|
||||
String unit = ((String) o3).toLowerCase();
|
||||
|
Loading…
Reference in New Issue
Block a user