Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/datatables/AbstractAccordionDetailView.java

Diff revisions: vs.
  @@ -1,6 +1,7 @@
1 1 // This Source Code is in the Public Domain per: http://unlicense.org
2 2 package org.litesoft.GWT.client.widgets.datatables;
3 3
4 + import org.litesoft.commonfoundation.base.*;
4 5 import org.litesoft.commonfoundation.html.*;
5 6 import org.litesoft.commonfoundation.typeutils.*;
6 7
  @@ -35,7 +36,7 @@
35 36 }
36 37
37 38 protected void setHtml( String pID, Object pValue ) {
38 - mImpl.getElementById( id( pID ) ).setInnerHTML( (pValue != null) ? pValue.toString() : HTMLConstants.NBSP );
39 + mImpl.getElementById( id( pID ) ).setInnerHTML( (pValue != null) ? pValue.toString() : HtmlEntity.NBSP );
39 40 }
40 41
41 42 protected String table( String... pTRs ) {
  @@ -78,7 +79,7 @@
78 79 }
79 80
80 81 protected String wrap( String pText, int pMaxCharsPerLength ) {
81 - pText = Strings.deNull( pText ).trim();
82 + pText = ConstrainTo.notNull( pText ).trim();
82 83
83 84 StringBuilder sb = new StringBuilder();
84 85
  @@ -90,7 +91,7 @@
90 91 pText = pText.substring( zPart.length() ).trim();
91 92 zPart = getUptoBreakAt( pText, pMaxCharsPerLength );
92 93 if ( zPart.length() == 0 ) {
93 - sb.append( HTMLConstants.NBSP );
94 + sb.append( HtmlEntity.NBSP );
94 95 } else {
95 96 if ( pText.length() > zPart.length() ) {
96 97 zPart = zPart.substring( 0, zPart.length() - 3 ) + "...";