Sonar fix: Future.java

Fixed sonar issues/code-smells across this file

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