litesoft
Diff Revisions
49
vs
802
for /trunk/Java/core/Anywhere/src/org/litesoft/core/simpletypes/currency/SimpleCurrency.java
|
@@ -5,6 +5,7 @@ |
5 |
5 |
|
|
6 |
6 |
|
import org.litesoft.core.simpletypes.*; |
7 |
7 |
|
import org.litesoft.core.simpletypes.nonpublic.*; |
|
8 |
+ |
import org.litesoft.core.typeutils.*; |
8 |
9 |
|
import org.litesoft.core.util.*; |
9 |
10 |
|
|
10 |
11 |
|
public class SimpleCurrency extends CompareSupport<SimpleCurrency> implements SimpleType |
|
@@ -134,7 +135,7 @@ |
134 |
135 |
|
public static SimpleCurrency rehydrate( String pDesiccated ) |
135 |
136 |
|
throws IllegalArgumentException |
136 |
137 |
|
{ |
137 |
|
- |
pDesiccated = UtilsCommon.deNull( pDesiccated ); |
|
138 |
+ |
pDesiccated = Strings.deNull( pDesiccated ); |
138 |
139 |
|
int dpAt = pDesiccated.indexOf( '.' ); |
139 |
140 |
|
int nfcSepAt = pDesiccated.indexOf( '|' ); |
140 |
141 |
|
if ( (3 <= dpAt) && ((dpAt + 1) < nfcSepAt) ) |