Daniel Kurka has uploaded a new change for review.

  https://gwt-review.googlesource.com/3614


Change subject: Add toString to SafeHtmlString to help debuging
......................................................................

Add toString to SafeHtmlString to help debuging

Change-Id: I29a12f293513a0b7458c15c01217d2c9fe1df60e
---
M user/src/com/google/gwt/safehtml/shared/SafeHtmlString.java
1 file changed, 5 insertions(+), 0 deletions(-)



diff --git a/user/src/com/google/gwt/safehtml/shared/SafeHtmlString.java b/user/src/com/google/gwt/safehtml/shared/SafeHtmlString.java
index 66afd65..f514f8b 100644
--- a/user/src/com/google/gwt/safehtml/shared/SafeHtmlString.java
+++ b/user/src/com/google/gwt/safehtml/shared/SafeHtmlString.java
@@ -76,4 +76,9 @@
   public int hashCode() {
     return html.hashCode();
   }
+
+  @Override
+  public String toString() {
+    return "safe: \"" + asString() + "\"";
+  }
 }

--
To view, visit https://gwt-review.googlesource.com/3614
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I29a12f293513a0b7458c15c01217d2c9fe1df60e
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Daniel Kurka <[email protected]>

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to