minor java8 update (#1684)

Anonymous new Consumer<String>() replaced with method reference.
This commit is contained in:
madven s 2017-04-23 14:27:12 +03:00 committed by Grzegorz Piwowarek
parent f4d56d7765
commit a8b633701d
1 changed files with 1 additions and 6 deletions

View File

@ -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");