Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Huang committed Oct 17, 2012
1 parent dbc8aa4 commit 7440fe0
Showing 1 changed file with 0 additions and 6 deletions.
Expand Up @@ -2,7 +2,6 @@

import java.util.List;

import com.allen_sauer.gwt.log.client.Log;
import com.google.common.base.Strings;
import com.google.gwt.safehtml.shared.SafeHtml;
import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
Expand Down Expand Up @@ -76,11 +75,6 @@ private static void appendContent(SafeHtmlBuilder sb, String content)

public SafeHtml toSafeHtml()
{
if (safeHtml == null)
{
Log.warn("you probably forget to call one of the asSyntaxHighlight or asDiff method?!");
safeHtml = new SafeHtmlBuilder().toSafeHtml();
}
return safeHtml;
}
}

0 comments on commit 7440fe0

Please sign in to comment.