Merge pull request #376 from DevFactory/release/Classes-without-public-constructors-should-be-final-fix-1

squid:S2974 - Classes without public constructors should be final
This commit is contained in:
Narendra Pathai
2016-02-12 15:44:31 +05:30
14 changed files with 14 additions and 14 deletions

View File

@ -29,7 +29,7 @@ package com.iluwatar.nullobject;
* Implemented as Singleton, since all the NullNodes are the same.
*
*/
public class NullNode implements Node {
public final class NullNode implements Node {
private static NullNode instance = new NullNode();