Skip to content

Commit 7e66b8d

Browse files
committed
Test utility methods don't need to be public
1 parent 625c3cd commit 7e66b8d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/org/apache/commons/cli/SolrCliTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class SolrCliTest {
137137
.build();
138138
// @formatter:on
139139

140-
public static String getDefaultSolrUrl() {
140+
private static String getDefaultSolrUrl() {
141141
final String scheme = "http";
142142
final String host = "localhost";
143143
final String port = "8983";

src/test/java/org/apache/commons/cli/SolrCreateToolTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more
2929

3030
public class SolrCreateToolTest {
3131

32-
public List<Option> getOptions() {
32+
private List<Option> getOptions() {
3333
// @formatter:off
3434
return Arrays.asList(
3535
SolrCliTest.OPTION_ZKHOST,

0 commit comments

Comments
 (0)