final1 sonarQube - Public constants and fields initialized at declaration should be "static final" rather than merely "final" sonarQube - Public constants and fields initialized at declaration should be "static final" rather than merely "final" Making a public constant just final as opposed to static final leads to duplicating its value for every instance of the class, uselessly increasing the amount of memory required to execute the application. Further, when a non-public, final field isn’t also static, it implies tha.. 2022. 7. 22. 이전 1 다음