fixed few sonar issues in AAIResourceNode.java