Missing interface @Override

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1417452 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-12-05 14:45:42 +00:00
parent 78ef8313bd
commit b1304061e9
2 changed files with 2 additions and 0 deletions

View File

@ -2757,6 +2757,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable, Build
* @since Apache Commons Lang 3.2
* @see #toString()
*/
@Override
public String build() {
return toString();
}

View File

@ -88,6 +88,7 @@ public class JavaUnicodeEscaper extends UnicodeEscaper {
* @param codePoint
* a Unicode code point
*/
@Override
protected String toUtf16Escape(int codepoint) {
char[] surrogatePair = Character.toChars(codepoint);
return "\\u" + hex(surrogatePair[0]) + "\\u" + hex(surrogatePair[1]);