The code you have attached is too different from the original file http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRichTextString.java?revision=720487&view=markup&pathrev=720487
It appears like your IDE has formatted the code with quite different rules, so it is difficult to see what your specific changes are. You will probably have to revert your local file, and re-apply your fix. Use "svn diff" for a more concise description of your intended changes. If your fix is anything but simple, can you also write a junit which exposes the bug? This will help the person applying the patch understand its purpose.
