File tree Expand file tree Collapse file tree
src/test/java/org/apache/commons/cli/help Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ void testPrintHelpHeader() throws IOException {
161161 }
162162
163163 @ Test
164- public void testPrintHelpWithIterableOptions () throws IOException {
164+ void testPrintHelpWithIterableOptions () throws IOException {
165165 final StringBuilder sb = new StringBuilder ();
166166 final TextHelpAppendable serializer = new TextHelpAppendable (sb );
167167 HelpFormatter formatter = HelpFormatter .builder ().setHelpAppendable (serializer ).get ();
Original file line number Diff line number Diff line change @@ -37,13 +37,13 @@ Licensed to the Apache Software Foundation (ASF) under one or more
3737/**
3838 * Tests {@link TextHelpAppendable}.
3939 */
40- public final class TextHelpAppendableTest {
40+ final class TextHelpAppendableTest {
4141
4242 private StringBuilder sb ;
4343 private TextHelpAppendable underTest ;
4444
4545 @ BeforeEach
46- public void setUp () {
46+ void setUp () {
4747 sb = new StringBuilder ();
4848 underTest = new TextHelpAppendable (sb );
4949 }
Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ Licensed to the Apache Software Foundation (ASF) under one or more
2828import org .junit .jupiter .params .provider .Arguments ;
2929import org .junit .jupiter .params .provider .MethodSource ;
3030
31- public class TextStyleTests {
31+ class TextStyleTest {
3232
33- public static Stream <Arguments > padTestData () {
33+ static Stream <Arguments > padTestData () {
3434 final List <Arguments > lst = new ArrayList <>();
3535 final TextStyle .Builder builder = TextStyle .builder ();
3636 builder .setIndent (5 );
You can’t perform that action at this time.
0 commit comments