From 98c9dc3cc9f2eb8eda831edb94fec01f351fbbd9 Mon Sep 17 00:00:00 2001 From: Mark Davis Date: Tue, 15 Nov 2005 02:04:18 +0000 Subject: [PATCH] ICU-4700 updates for UnicodeSet X-SVN-Rev: 18797 --- icu4j/src/com/ibm/icu/impl/PrettyPrinter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/icu4j/src/com/ibm/icu/impl/PrettyPrinter.java b/icu4j/src/com/ibm/icu/impl/PrettyPrinter.java index df3d546e7e8..c4f9c107765 100644 --- a/icu4j/src/com/ibm/icu/impl/PrettyPrinter.java +++ b/icu4j/src/com/ibm/icu/impl/PrettyPrinter.java @@ -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; } /**