litesoft
Diff Revisions
60
vs
801
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/forms/client/nonpublic/StringRequireableAttributeAdapter.java
|
@@ -4,7 +4,7 @@ |
4 |
4 |
|
import java.io.*; |
5 |
5 |
|
|
6 |
6 |
|
import org.litesoft.GWT.forms.client.components.*; |
7 |
|
- |
import org.litesoft.core.util.*; |
|
7 |
+ |
import org.litesoft.core.typeutils.*; |
8 |
8 |
|
import org.litesoft.ui.def.nonpublic.support.*; |
9 |
9 |
|
|
10 |
10 |
|
public class StringRequireableAttributeAdapter extends AbstractFormRequireableAttributeAdapter |
|
@@ -18,7 +18,7 @@ |
18 |
18 |
|
|
19 |
19 |
|
protected Serializable LLconvertNonNullComponentValueToSendable( Object pValue ) |
20 |
20 |
|
{ |
21 |
|
- |
return UtilsCommon.noEmpty( (String) pValue ); |
|
21 |
+ |
return Strings.noEmpty( (String) pValue ); |
22 |
22 |
|
} |
23 |
23 |
|
|
24 |
24 |
|
protected Object convertSendableToComponentValue( Serializable pValue ) |
|
@@ -28,7 +28,7 @@ |
28 |
28 |
|
|
29 |
29 |
|
protected String convertComponentValueToString( Object pValue ) |
30 |
30 |
|
{ |
31 |
|
- |
String str = UtilsCommon.noEmpty( (String) pValue ); |
|
31 |
+ |
String str = Strings.noEmpty( (String) pValue ); |
32 |
32 |
|
return (str != null) ? "'" + str + "'" : "null"; |
33 |
33 |
|
} |
34 |
34 |
|
|