After running the sonar Qube following security issue shown for this code snippet.
public String createToken(String text) { StringBuilder token =