Skip to content

Commit f427a76

Browse files
committed
rename method
1 parent 19671a6 commit f427a76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,7 @@ private static CloseableHttpClient createHttpClient(Settings settings, URL url)
15341534
String activeProxyHost = activeProxy.getHost();
15351535
if (activeProxyHost != null
15361536
&& !activeProxyHost.isEmpty()
1537-
&& (url == null || !validateNonProxyHosts(nonProxyHosts, url.getHost()))) {
1537+
&& (url == null || !isNonProxyHost(nonProxyHosts, url.getHost()))) {
15381538
HttpHost proxy = new HttpHost(activeProxyHost, activeProxy.getPort());
15391539
builder.setProxy(proxy);
15401540

@@ -1554,7 +1554,7 @@ private static CloseableHttpClient createHttpClient(Settings settings, URL url)
15541554
return builder.build();
15551555
}
15561556

1557-
private static boolean validateNonProxyHosts(String nonProxyHosts, String targetHost) {
1557+
private static boolean isNonProxyHost(String nonProxyHosts, String targetHost) {
15581558
if (nonProxyHosts == null) {
15591559
return false;
15601560
}

0 commit comments

Comments
 (0)