Update ReverseString.java

Change as reported in Bug