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>() {
|
||||
@Override
|
||||
public void accept(String s) {
|
||||
Assert.assertNotNull(s);
|
||||
}
|
||||
};
|
||||
private Consumer<String> consumer = Assert::assertNotNull;
|
||||
|
||||
private String homeDirectory = System.getProperty("user.home");
|
||||
|
||||
|
|
Loading…
Reference in New Issue