Subversion Repository Public Repository

litesoft

Diff Revisions 610 vs 801 for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/forms/client/nonpublic/AbstractNumericRequireableAttributeAdapter.java

Diff revisions: vs.
  @@ -7,6 +7,7 @@
7 7 import org.litesoft.GWT.forms.client.components.impls.input.*;
8 8 import org.litesoft.core.simpletypes.*;
9 9 import org.litesoft.core.simpletypes.nonpublic.*;
10 + import org.litesoft.core.typeutils.*;
10 11 import org.litesoft.core.util.*;
11 12 import org.litesoft.ui.def.nonpublic.*;
12 13 import org.litesoft.ui.def.nonpublic.support.*;
  @@ -49,7 +50,7 @@
49 50 Object value = super.getComponentCurrentValue();
50 51 if ( value != null )
51 52 {
52 - value = UtilsCommon.noEmpty( value.toString() );
53 + value = Strings.noEmpty( value.toString() );
53 54 }
54 55 return value;
55 56 }
  @@ -78,7 +79,7 @@
78 79 protected String transformErrorText( String pErrorText, Serializable pSendableCurrentValue,
79 80 Object pComponentCurrentValue )
80 81 {
81 - if ( null == (pErrorText = UtilsCommon.noEmpty( pErrorText )) )
82 + if ( null == (pErrorText = Strings.noEmpty( pErrorText )) )
82 83 {
83 84 pErrorText = getCurrentValueErrorText( pComponentCurrentValue );
84 85 }
  @@ -139,7 +140,7 @@
139 140
140 141 private String conversionHelper( Object pValue )
141 142 {
142 - return (pValue != null) ? UtilsCommon.noEmpty( pValue.toString() ) : null;
143 + return (pValue != null) ? Strings.noEmpty( pValue.toString() ) : null;
143 144 }
144 145
145 146 private String getCurrentValueErrorText( Object pComponentCurrentValue )