Merge "Make gwtexpui SafeHtml compatible with GWT SafeHtml"
This commit is contained in:
@@ -29,7 +29,9 @@ import java.util.Iterator;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/** Immutable string safely placed as HTML without further escaping. */
|
/** Immutable string safely placed as HTML without further escaping. */
|
||||||
public abstract class SafeHtml {
|
@SuppressWarnings("serial")
|
||||||
|
public abstract class SafeHtml
|
||||||
|
implements com.google.gwt.safehtml.shared.SafeHtml {
|
||||||
public static final SafeHtmlResources RESOURCES;
|
public static final SafeHtmlResources RESOURCES;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import com.google.gwt.core.client.GWT;
|
|||||||
/**
|
/**
|
||||||
* Safely constructs a {@link SafeHtml}, escaping user provided content.
|
* Safely constructs a {@link SafeHtml}, escaping user provided content.
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("serial")
|
||||||
public class SafeHtmlBuilder extends SafeHtml {
|
public class SafeHtmlBuilder extends SafeHtml {
|
||||||
private static final Impl impl;
|
private static final Impl impl;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user