Skip to content
This repository was archived by the owner on Jan 5, 2021. It is now read-only.

Commit 3d82abf

Browse files
authored
Update DetectOptionManager.java
Switching conditional.
1 parent ddbe355 commit 3d82abf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detect-configuration/src/main/java/com/blackducksoftware/integration/hub/detect/help/DetectOptionManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public BlackDuckServerConfig createBlackduckServerConfig(IntLogger logger) {
112112

113113
final Map<String, String> blackduckBlackDuckProperties = detectConfiguration.getBlackduckProperties();
114114
final Map<String, String> blackduckBlackDuckPropertiesNoProxy = blackduckBlackDuckProperties.entrySet().stream()
115-
.filter(it -> it.getKey().toLowerCase().contains("proxy"))
115+
.filter(it -> !it.getKey().toLowerCase().contains("proxy"))
116116
.collect(Collectors.toMap(it -> it.getKey(), it -> it.getValue()));
117117

118118
final List<Pattern> ignoredProxyHostPatterns = ProxyUtil.getIgnoredProxyHostPatterns(detectConfiguration.getProperty(DetectProperty.BLACKDUCK_PROXY_IGNORED_HOSTS, PropertyAuthority.None));

0 commit comments

Comments
 (0)