Skip to content

Commit

Permalink
Remove unnecessary null check
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Nov 15, 2024
1 parent 68dbf03 commit dde3977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/org/apache/catalina/storeconfig/SSLHostConfigSF.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void store(PrintWriter aWriter, int indent, Object aElement) throws Excep
getStoreAppender().printIndent(aWriter, indent + 2);
aWriter.print("<");
aWriter.print(elementDesc.getTag());
if (elementDesc.isAttributes() && aElement != null) {
if (elementDesc.isAttributes()) {
// Add protocols attribute
SSLHostConfig bean2 = (SSLHostConfig) getStoreAppender().defaultInstance(aElement);
SSLHostConfig sslHostConfig = (SSLHostConfig) aElement;
Expand Down

0 comments on commit dde3977

Please sign in to comment.