minor java8 update (#1684)
Anonymous new Consumer<String>() replaced with method reference.
This commit is contained in:
parent
f4d56d7765
commit
a8b633701d
|
@ -25,12 +25,7 @@ public class JavaProcessUnitIntegrationTest {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private Consumer<String> consumer = new Consumer<String>() {
|
private Consumer<String> consumer = Assert::assertNotNull;
|
||||||
@Override
|
|
||||||
public void accept(String s) {
|
|
||||||
Assert.assertNotNull(s);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
private String homeDirectory = System.getProperty("user.home");
|
private String homeDirectory = System.getProperty("user.home");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue