Affects Version/s: HTL Maven Plugin 2.0.2-1.4.0
Fix Version/s: None
Component/s: Maven Plugins and Archetypes
The HTL-Maven-Plugin (when set with failOnWarnings = true) is failing with warnings like these:
data-sly-test: redundant constant value comparison
Problem is, this message is not giving a lot of insight, why it is failing.
I have a snippet like this:
It fails with the mentioned warning and I am fishing in the dark.
It is a valid test, it checks object.property for null, right?
Is it maybe a false positive?