ICU-4700 updates for UnicodeSet

X-SVN-Rev: 18797
This commit is contained in:
Mark Davis 2005-11-15 02:04:18 +00:00
parent 5994c85fac
commit 98c9dc3cc9

View file

@ -99,10 +99,11 @@ public class PrettyPrinter {
* a UnicodeSet of extra characters to quote with \\uXXXX-style escaping (will automatically quote pattern whitespace)
* @param toQuote
*/
public void setToQuote(UnicodeSet toQuote) {
public PrettyPrinter setToQuote(UnicodeSet toQuote) {
toQuote = (UnicodeSet)toQuote.clone();
toQuote.addAll(patternWhitespace);
this.toQuote = toQuote;
return this;
}
/**