cleanup with "Inspect and Transform"

This commit is contained in:
Honfika
2013-11-07 00:26:49 +01:00
parent 9870157b6b
commit bef5f0ae67
69 changed files with 821 additions and 738 deletions
@@ -269,7 +269,7 @@ public class EcmaScript {
}
if (o instanceof String) {
String s = (String) o;
return !s.equals("");
return !s.isEmpty();
}
return true; //other Object
}
@@ -289,7 +289,7 @@ public class EcmaScript {
return 0L;
}
Long posInt = (long) (double) (Math.signum(n) * Math.floor(Math.abs(n)));
posInt = posInt % (1 << 32);
posInt %= (1 << 32);
return posInt;
}
}