FunctionsTest whitespace after comma
Add a space after the comma as per the project's Checkstyle rules
This commit is contained in:
parent
5e315d1ac9
commit
19a5a09b09
|
@ -276,7 +276,7 @@ class FunctionsTest {
|
||||||
@Test
|
@Test
|
||||||
public void testTryWithResources() {
|
public void testTryWithResources() {
|
||||||
final CloseableObject co = new CloseableObject();
|
final CloseableObject co = new CloseableObject();
|
||||||
final FailableConsumer<Throwable,? extends Throwable> consumer = co::run;
|
final FailableConsumer<Throwable, ? extends Throwable> consumer = co::run;
|
||||||
final IllegalStateException ise = new IllegalStateException();
|
final IllegalStateException ise = new IllegalStateException();
|
||||||
try {
|
try {
|
||||||
Functions.tryWithResources(() -> consumer.accept(ise), co::close);
|
Functions.tryWithResources(() -> consumer.accept(ise), co::close);
|
||||||
|
|
Loading…
Reference in New Issue