litesoft
Diff Revisions
49
vs
801
for /trunk/Java/core/Anywhere/src/org/litesoft/ui/scanner/QuantityScannerFieldsProcessor.java
|
@@ -1,6 +1,7 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.ui.scanner; |
3 |
3 |
|
|
|
4 |
+ |
import org.litesoft.core.typeutils.*; |
4 |
5 |
|
import org.litesoft.core.util.*; |
5 |
6 |
|
|
6 |
7 |
|
public class QuantityScannerFieldsProcessor implements QuantityScannerFieldsLogic |
|
@@ -37,7 +38,7 @@ |
37 |
38 |
|
|
38 |
39 |
|
public void enteredScannerInput( String pValue ) |
39 |
40 |
|
{ |
40 |
|
- |
if ( null == (pValue = UtilsCommon.noEmpty( pValue )) ) |
|
41 |
+ |
if ( null == (pValue = Strings.noEmpty( pValue )) ) |
41 |
42 |
|
{ |
42 |
43 |
|
return; |
43 |
44 |
|
} |
|
@@ -57,7 +58,7 @@ |
57 |
58 |
|
mAdding = true; |
58 |
59 |
|
pValue = pValue.substring( 2 ); |
59 |
60 |
|
} |
60 |
|
- |
if ( null == (pValue = UtilsCommon.noEmpty( pValue )) ) |
|
61 |
+ |
if ( null == (pValue = Strings.noEmpty( pValue )) ) |
61 |
62 |
|
{ |
62 |
63 |
|
return; |
63 |
64 |
|
} |
|
@@ -87,7 +88,7 @@ |
87 |
88 |
|
|
88 |
89 |
|
public void enteredQuantityInput( String pValue ) |
89 |
90 |
|
{ |
90 |
|
- |
if ( null == (pValue = UtilsCommon.noEmpty( pValue )) ) |
|
91 |
+ |
if ( null == (pValue = Strings.noEmpty( pValue )) ) |
91 |
92 |
|
{ |
92 |
93 |
|
mQuantity = 0; |
93 |
94 |
|
return; |
|
@@ -97,7 +98,7 @@ |
97 |
98 |
|
mAdding = true; |
98 |
99 |
|
pValue = pValue.substring( 1 ); |
99 |
100 |
|
} |
100 |
|
- |
if ( null == (pValue = UtilsCommon.noEmpty( pValue )) ) |
|
101 |
+ |
if ( null == (pValue = Strings.noEmpty( pValue )) ) |
101 |
102 |
|
{ |
102 |
103 |
|
mQuantity = 0; |
103 |
104 |
|
mAccessor.setInput( "", "" ); |