litesoft
Diff Revisions
803
vs
804
for /trunk/Java/core/Server/src/org/litesoft/peertopeer/nonpublic/server/PeerServer.java
|
@@ -4,9 +4,9 @@ |
4 |
4 |
|
import java.io.*; |
5 |
5 |
|
import java.net.*; |
6 |
6 |
|
|
|
7 |
+ |
import org.litesoft.core.typeutils.*; |
7 |
8 |
|
import org.litesoft.logger.*; |
8 |
9 |
|
import org.litesoft.peertopeer.nonpublic.peermanagement.*; |
9 |
|
- |
import org.litesoft.util.*; |
10 |
10 |
|
|
11 |
11 |
|
public class PeerServer implements P2PConstants |
12 |
12 |
|
{ |
|
@@ -45,7 +45,7 @@ |
45 |
45 |
|
|
46 |
46 |
|
public void start( PeerConnectionHandlerFactory pConnectionHandlerFactory ) |
47 |
47 |
|
{ |
48 |
|
- |
Utils.assertNotNull( "PeerConnectionHandlerFactory", pConnectionHandlerFactory ); |
|
48 |
+ |
Objects.assertNotNull( "PeerConnectionHandlerFactory", pConnectionHandlerFactory ); |
49 |
49 |
|
|
50 |
50 |
|
OurServer zServer = new OurServer( getClass().getName(), pConnectionHandlerFactory ); |
51 |
51 |
|
zServer.start(); |