Sonar Fix: NS.java

Fixed sonar issues/code-smells across this file

Issue-ID: AAF-689
Change-Id: Ia8f9561c8461d4cd3f69e971921c250b25820880
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
1 file changed