mirror of
https://github.com/corda/corda.git
synced 2025-06-23 17:53:31 +00:00
remove Event::validate, since it is no longer needed and actually causes trouble
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user