litesoft
Diff Revisions
820
vs
821
for /trunk/Java/core/Server/src/org/litesoft/peertopeer/nonpublic/peermanagement/PeerDefinition.java
|
@@ -6,7 +6,6 @@ |
6 |
6 |
|
|
7 |
7 |
|
import org.litesoft.core.simpletypes.nonpublic.*; |
8 |
8 |
|
import org.litesoft.core.typeutils.*; |
9 |
|
- |
import org.litesoft.util.*; |
10 |
9 |
|
|
11 |
10 |
|
public final class PeerDefinition extends CompareSupport<PeerDefinition> implements Serializable, |
12 |
11 |
|
P2PConstants |
|
@@ -19,7 +18,7 @@ |
19 |
18 |
|
|
20 |
19 |
|
public PeerDefinition( String pName, InetAddress pInetAddress, int pPort ) |
21 |
20 |
|
{ |
22 |
|
- |
mName = Utils.assertNotNullNotEmpty( "Name", pName ); |
|
21 |
+ |
mName = Strings.assertNotNullNotEmpty( "Name", pName ); |
23 |
22 |
|
Objects.assertNotNull( "InetAddress", mInetAddress = pInetAddress ); |
24 |
23 |
|
mPort = P2Putils.validatePort( pPort ); |
25 |
24 |
|
} |