use lambda shorthand
This commit is contained in:
parent
d124256835
commit
808688b793
|
@ -147,7 +147,7 @@ public abstract class DynamicCallGraphTestBase extends WalaTestCase {
|
|||
}
|
||||
|
||||
protected void checkEdges(CallGraph staticCG) throws IOException {
|
||||
checkEdges(staticCG, (MethodReference x) -> { return true; });
|
||||
checkEdges(staticCG, (x) -> true );
|
||||
}
|
||||
|
||||
protected void checkEdges(CallGraph staticCG, Predicate<MethodReference> filter) throws IOException {
|
||||
|
@ -170,7 +170,7 @@ public abstract class DynamicCallGraphTestBase extends WalaTestCase {
|
|||
}
|
||||
|
||||
protected void checkNodes(CallGraph staticCG) throws IOException {
|
||||
checkNodes(staticCG, (MethodReference x) -> { return true; });
|
||||
checkNodes(staticCG, (x) -> true);
|
||||
}
|
||||
|
||||
protected void checkNodes(CallGraph staticCG, Predicate<MethodReference> filter) throws IOException {
|
||||
|
|
Loading…
Reference in New Issue