litesoft
Diff Revisions
610
vs
801
for /trunk/Java/InterModuleComm/InterModuleComm/src/InterModuleComm/HelloMessage.java
|
@@ -1,6 +1,8 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package InterModuleComm; |
3 |
3 |
|
|
|
4 |
+ |
import org.litesoft.core.typeutils.*; |
|
5 |
+ |
|
4 |
6 |
|
import static org.litesoft.util.Utils.*; |
5 |
7 |
|
|
6 |
8 |
|
public final class HelloMessage implements Message |
|
@@ -71,8 +73,8 @@ |
71 |
73 |
|
|
72 |
74 |
|
public static Builder FromParams( String pFromType, String pId ) |
73 |
75 |
|
{ |
74 |
|
- |
pFromType = noEmpty( pFromType ); |
75 |
|
- |
pId = noEmpty( pId ); |
|
76 |
+ |
pFromType = Strings.noEmpty( pFromType ); |
|
77 |
+ |
pId = Strings.noEmpty( pId ); |
76 |
78 |
|
if ( isAsciiIdentifier( pFromType ) && isNoSpaceAscii( pId ) ) |
77 |
79 |
|
{ |
78 |
80 |
|
return new Builder( pFromType, pId ); |