Subversion Repository Public Repository

litesoft

Diff Revisions 475 vs 712 for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/client/Grid.java

Diff revisions: vs.
  @@ -17,6 +17,8 @@
17 17
18 18 import com.google.gwt.user.client.*;
19 19
20 + import org.litesoft.core.util.HTMLConstants;
21 +
20 22 /**
21 23 * This class should replace the actual class of the same name.
22 24 * <p/>
  @@ -40,7 +42,7 @@
40 42 public Grid()
41 43 {
42 44 super();
43 - setClearText( "&nbsp;" );
45 + setClearText( HTMLConstants.NBSP );
44 46 setCellFormatter( new CellFormatter() );
45 47 setRowFormatter( new RowFormatter() );
46 48 setColumnFormatter( new ColumnFormatter() );
  @@ -219,7 +221,7 @@
219 221
220 222 // Add a non-breaking space to the TD. This ensures that the cell is
221 223 // displayed.
222 - DOM.setInnerHTML( td, "&nbsp;" );
224 + DOM.setInnerHTML( td, HTMLConstants.NBSP );
223 225 return td;
224 226 }
225 227