litesoft
Diff Revisions
820
vs
821
for /trunk/Java/core/Anywhere/src/org/litesoft/core/simpletypes/currency/SimpleCurrency.java
|
@@ -6,7 +6,6 @@ |
6 |
6 |
|
import org.litesoft.core.simpletypes.*; |
7 |
7 |
|
import org.litesoft.core.simpletypes.nonpublic.*; |
8 |
8 |
|
import org.litesoft.core.typeutils.*; |
9 |
|
- |
import org.litesoft.core.util.*; |
10 |
9 |
|
|
11 |
10 |
|
public class SimpleCurrency extends CompareSupport<SimpleCurrency> implements SimpleType |
12 |
11 |
|
{ |
|
@@ -68,7 +67,7 @@ |
68 |
67 |
|
|
69 |
68 |
|
public SimpleCurrency( String pCurrencyCode, int pDefaultFractionDigits, NumericFormatControl pFormatControl ) |
70 |
69 |
|
{ |
71 |
|
- |
mCurrencyCode = UtilsCommon.assertNotNullNotEmpty( "CurrencyCode", pCurrencyCode ); |
|
70 |
+ |
mCurrencyCode = Strings.assertNotNullNotEmpty( "CurrencyCode", pCurrencyCode ); |
72 |
71 |
|
if ( mCurrencyCode.length() != 3 ) |
73 |
72 |
|
{ |
74 |
73 |
|
throw new IllegalArgumentException( "Currency Codes should be 3 characters long per ISO 4217" ); |