OWASP / java-html-sanitizer

Takes third-party HTML and produces HTML that is safe to embed in your web application. Fast and easy to configure.
Other
833 stars 210 forks source link

Eliminate unnecessary nested statement(s) within else clauses #322

Open csware opened 5 months ago

mikesamuel commented 3 months ago

This PR does what it says on the tin.

Is this driven by some IDE warning?

csware commented 3 months ago

Eclipse shows some warning, but I think it also makes the code better readable.