*/\r
public static final char ALTCHAR = '?';\r
\r
+ private static final String NULLTEXT = "null";\r
+\r
private static final List<DecodeErrorInfo> EMPTY_LIST =\r
Collections.emptyList();\r
\r
*/\r
public DecodedContent append(CharSequence seq){\r
if(seq == null){\r
- this.rawContent.append("null");\r
+ this.rawContent.append(NULLTEXT);\r
}else if(seq instanceof DecodedContent){\r
append((DecodedContent)seq, 0, seq.length());\r
}else{\r
int startPos, int endPos)\r
throws IndexOutOfBoundsException{\r
if(seq == null){\r
- this.rawContent.append("null", startPos, endPos);\r
+ this.rawContent.append(NULLTEXT, startPos, endPos);\r
}else if(seq instanceof DecodedContent){\r
append((DecodedContent)seq, startPos, endPos);\r
}else{\r
int startPos, int endPos)\r
throws IndexOutOfBoundsException{\r
if(source == null){\r
- return append("null", startPos, endPos);\r
+ return append(NULLTEXT, startPos, endPos);\r
}\r
\r
int gap = startPos - this.rawContent.length();\r