Add methods to test if a SafeHtmlBuilder is empty

Some application code may need to know if there is already data
in a SafeHtmlBuilder, as that may drive a decision to add some
sort of combiner string like ", " before putting more data into
the builder's buffer.

Signed-off-by: Shawn O. Pearce <sop@google.com>
2 files changed
tree: bab254947dd02045db140fab9eac4c08fec1b53b
  1. .settings/
  2. src/
  3. .gitignore
  4. COPYING
  5. pom.xml