litesoft
Diff Revisions
49
vs
802
for /trunk/Java/GWT/OldServer/src/org/litesoft/GWT/forms/server/support/mdconstruction/FormAMDFactory_SimpleMoney.java
|
@@ -5,8 +5,8 @@ |
5 |
5 |
|
import org.litesoft.GWT.forms.server.support.converters.*; |
6 |
6 |
|
import org.litesoft.GWT.forms.server.support.nonpublic.*; |
7 |
7 |
|
import org.litesoft.core.simpletypes.currency.*; |
|
8 |
+ |
import org.litesoft.core.typeutils.*; |
8 |
9 |
|
import org.litesoft.ui.def.nonpublic.support.*; |
9 |
|
- |
import org.litesoft.util.*; |
10 |
10 |
|
|
11 |
11 |
|
public class FormAMDFactory_SimpleMoney extends AbstractNumericFormAMDFactory |
12 |
12 |
|
{ |
|
@@ -20,7 +20,7 @@ |
20 |
20 |
|
public AMDconverterPair createAttributeMetaData( CreateAMDParamsPlus pParams ) |
21 |
21 |
|
{ |
22 |
22 |
|
String zCurrencyHint = pParams.getHintValue( CURRENCY ); |
23 |
|
- |
SimpleCurrency zSC = Utils.isNullOrEmpty( zCurrencyHint ) ? // |
|
23 |
+ |
SimpleCurrency zSC = Strings.isNullOrEmpty( zCurrencyHint ) ? // |
24 |
24 |
|
SimpleCurrency.US : // |
25 |
25 |
|
SimpleCurrency.rehydrate( zCurrencyHint.trim() ); |
26 |
26 |
|
return new AMDconverterPair( new SendableSimpleMoneyConverter( zSC ), |