In my api.properties
file, i have this:
command.void='voiditem'
...
I add single quote in both end of the value to ensure spaces are being escaped however it is being rendered as it is (single quote is still there).
@Value("${command.void}")
String command;
...
System.out.println(commad); //displays: 'voiditem'
What went wrong?