Fixed Sonar issues in NodeClass.java

No match.