Posts

Showing posts from February 25, 2019

Sonar issue - Child class fields should not shadow parent class fields

Image
0 I have Sonar complaining about code quality issue. I have a class that is extending a Spring class which in turn extends few other Spring classes. Is there any solution for this kind of issue? Sonar Reported Issue: "LOGGER" differs only by case from "logger" in "DaoSupport" AddressDao.java @Component public class AddressDao extends PayhubNamedParameterJdbcDaoSupport { private static final Logger LOGGER = LoggerFactory.getLogger(AddressDao.class); ... } Spring class PayhubNamedParameterJdbcDaoSupport extending other classes PayhubNamedParameterJdbcDaoSupport -> NamedParameterJdbcDaoSupport -> JdbcDaoSupport -> DaoSupport org.springframework.dao.support.DaoSupport.java public abstract class DaoSupport implements InitializingBean { prot...

How do I set up an email alert when a ssh login is successful?

This summary is not available. Please click here to view the post.