This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new 45ad8976c Whitespace
45ad8976c is described below

commit 45ad8976cb94010bcc36688f885fbf119f146252
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Mar 29 11:54:43 2024 -0400

    Whitespace
---
 src/test/java/org/apache/commons/lang3/stream/StreamsTest.java | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/test/java/org/apache/commons/lang3/stream/StreamsTest.java 
b/src/test/java/org/apache/commons/lang3/stream/StreamsTest.java
index c15f95999..e232dc7dc 100644
--- a/src/test/java/org/apache/commons/lang3/stream/StreamsTest.java
+++ b/src/test/java/org/apache/commons/lang3/stream/StreamsTest.java
@@ -81,23 +81,19 @@ public class StreamsTest extends AbstractLangTest {
         final List<String> input = Arrays.asList("1", "2", "3", "4", "5", "6");
         final List<Integer> output = 
Failable.stream(input).map(Integer::valueOf).filter(asIntPredicate(null)).collect(Collectors.toList());
         assertEvenNumbers(output);
-
         return Stream.of(
-
             dynamicTest("IllegalArgumentException", () -> {
                 final IllegalArgumentException iae = new 
IllegalArgumentException("Invalid argument: " + 5);
                 final Executable testMethod = () -> 
Failable.stream(input).map(Integer::valueOf).filter(asIntPredicate(iae)).collect(Collectors.toList());
                 final IllegalArgumentException thrown = 
assertThrows(IllegalArgumentException.class, testMethod);
                 assertThat(thrown.getMessage(), is(equalTo("Invalid argument: 
" + 5)));
             }),
-
             dynamicTest("OutOfMemoryError", () -> {
                 final OutOfMemoryError oome = new OutOfMemoryError();
                 final Executable testMethod = () -> 
Failable.stream(input).map(Integer::valueOf).filter(asIntPredicate(oome)).collect(Collectors.toList());
                 final OutOfMemoryError thrown = 
assertThrows(OutOfMemoryError.class, testMethod);
                 assertThat(thrown.getMessage(), is(nullValue()));
             }),
-
             dynamicTest("SAXException", () -> {
                 final SAXException se = new SAXException();
                 final Executable testMethod = () -> 
Failable.stream(input).map(Integer::valueOf).filter(asIntPredicate(se)).collect(Collectors.toList());
@@ -109,23 +105,19 @@ public class StreamsTest extends AbstractLangTest {
     @TestFactory
     public Stream<DynamicTest> simpleStreamForEachFailing() {
         final List<String> input = Arrays.asList("1", "2", "3", "4", "5", "6");
-
         return Stream.of(
-
             dynamicTest("IllegalArgumentException", () -> {
                 final IllegalArgumentException ise = new 
IllegalArgumentException();
                 final Executable testMethod = () -> 
Failable.stream(input).forEach(asIntConsumer(ise));
                 final IllegalArgumentException thrown = 
assertThrows(IllegalArgumentException.class, testMethod);
                 assertThat(thrown.getMessage(), is(nullValue()));
             }),
-
             dynamicTest("OutOfMemoryError", () -> {
                 final OutOfMemoryError oome = new OutOfMemoryError();
                 final Executable oomeTestMethod = () -> 
Failable.stream(input).forEach(asIntConsumer(oome));
                 final OutOfMemoryError oomeThrown = 
assertThrows(OutOfMemoryError.class, oomeTestMethod);
                 assertThat(oomeThrown.getMessage(), is(nullValue()));
             }),
-
             dynamicTest("SAXException", () -> {
                 final SAXException se = new SAXException();
                 final Executable seTestMethod = () -> 
Failable.stream(input).forEach(asIntConsumer(se));

Reply via email to