Fix sonar issue: make isEnabled synchronized to match setEnabled
in order to avoid 'inconsistent behavior at runtime as callers access an inconsistent method state'
@@ -198,7 +198,7 @@ public class DefaultRSSGenerator implements RSSGenerator {
/** {@inheritDoc} */
@Override
- public boolean isEnabled() {
+ public synchronized boolean isEnabled() {
return m_enabled;
}
