litesoft
Diff Revisions
49
vs
801
for /trunk/Java/core/jvm1.4/src/org/litesoft/ui/def/nonpublic/support/DottedReference.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.def.nonpublic.support; |
3 |
3 |
|
|
|
4 |
+ |
import org.litesoft.core.typeutils.*; |
4 |
5 |
|
import org.litesoft.core.util.*; |
5 |
6 |
|
|
6 |
7 |
|
public class DottedReference |
|
@@ -108,7 +109,7 @@ |
108 |
109 |
|
|
109 |
110 |
|
private void setLocalReference( String pReference, String pLocalReference ) |
110 |
111 |
|
{ |
111 |
|
- |
if ( null == (mLocalReference = UtilsCommon.noEmpty( pLocalReference )) ) |
|
112 |
+ |
if ( null == (mLocalReference = Strings.noEmpty( pLocalReference )) ) |
112 |
113 |
|
{ |
113 |
114 |
|
throw new IllegalArgumentException( "No Local Reference in '" + pReference + "'" ); |
114 |
115 |
|
} |
|
@@ -116,7 +117,7 @@ |
116 |
117 |
|
|
117 |
118 |
|
private void setRestOfReference( String pReference, String pRestOfReference ) |
118 |
119 |
|
{ |
119 |
|
- |
if ( null == (mRestOfReference = UtilsCommon.noEmpty( pRestOfReference )) ) |
|
120 |
+ |
if ( null == (mRestOfReference = Strings.noEmpty( pRestOfReference )) ) |
120 |
121 |
|
{ |
121 |
122 |
|
throw new IllegalArgumentException( "Nothing after '" + SEPERATOR + "' in '" + pReference + "'" ); |
122 |
123 |
|
} |
|
@@ -196,7 +197,7 @@ |
196 |
197 |
|
|
197 |
198 |
|
private Selector parseSelector( String pReference, String pSelector ) |
198 |
199 |
|
{ |
199 |
|
- |
if ( null == (pSelector = UtilsCommon.noEmpty( pSelector )) ) |
|
200 |
+ |
if ( null == (pSelector = Strings.noEmpty( pSelector )) ) |
200 |
201 |
|
{ |
201 |
202 |
|
throw badSelector( pReference, "No Selector text" ); |
202 |
203 |
|
} |