remove Event::validate, since it is no longer needed and actually causes trouble

This commit is contained in:
Joel Dice
2008-05-20 16:47:53 -06:00
parent 36dbf1ad14
commit 21cb1c3c8f
2 changed files with 13 additions and 13 deletions

View File

@ -89,7 +89,14 @@ public class Misc {
return a + b + c;
}
private static long roundUp(long a, long b) {
a += b - 1L;
return a - (a % b);
}
public static void main(String[] args) {
expect(roundUp(156, 2) == 156);
{ Foo foo = new Foo();
int x = foo.a + foo.b + foo.c;
bar(foo.a, foo.b, foo.c);