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