Skip to content

Commit 9dfba6a

Browse files
committed
NIFI-14381: Fixed CheckStyle error
1 parent dbbe3ae commit 9dfba6a

File tree

1 file changed

+2
-2
lines changed
  • nifi-extension-bundles/nifi-standard-bundle/nifi-standard-rules/src/main/java/org/apache/nifi/flowanalysis/rules

1 file changed

+2
-2
lines changed

nifi-extension-bundles/nifi-standard-bundle/nifi-standard-rules/src/main/java/org/apache/nifi/flowanalysis/rules/RequireCustomSSLContext.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ public Collection<ComponentAnalysisResult> analyzeComponent(VersionedComponent c
6565
versionedConfigurableExtension.getProperties().forEach((propertyName, propertyValue) -> {
6666

6767
// If the SSL Context property exists and the value is not set, report a violation
68-
if (("SSL Context Service".equalsIgnoreCase(propertyName) || "ssl-context-service".equalsIgnoreCase(propertyName)) &&
69-
StringUtils.isEmpty(propertyValue)) {
68+
if (("SSL Context Service".equalsIgnoreCase(propertyName) || "ssl-context-service".equalsIgnoreCase(propertyName))
69+
&& StringUtils.isEmpty(propertyValue)) {
7070
ComponentAnalysisResult result = new ComponentAnalysisResult(
7171
component.getInstanceIdentifier(),
7272
"'" + encounteredSimpleComponentType + "' must specify an SSL Context Service"

0 commit comments

Comments
 (0)