mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-4700 updates for UnicodeSet
X-SVN-Rev: 18797
This commit is contained in:
parent
5994c85fac
commit
98c9dc3cc9
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue