Subversion Repository Public Repository

litesoft

Diff Revisions 151 vs 804 for /trunk/Java/core/Server/src/org/litesoft/peertopeer/nonpublic/broadcastdiscovery/BroadcastMessageManager.java

Diff revisions: vs.
  @@ -4,6 +4,7 @@
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.*;
9 10 import org.litesoft.peertopeer.nonpublic.peermanagement.*;
  @@ -45,7 +46,7 @@
45 46 throws IOException
46 47 {
47 48 P2Putils.validatePort( pServerPort );
48 - Utils.assertNotNull( "PeerConnectionHandlerFactory", pConnectionHandlerFactory );
49 + Objects.assertNotNull( "PeerConnectionHandlerFactory", pConnectionHandlerFactory );
49 50 assert_joinGroup_notCalled();
50 51
51 52 mOurServer = new OurServer( getClass().getName(), pConnectionHandlerFactory );
  @@ -264,7 +265,7 @@
264 265 pStringToAssert = Utils.assertNotNullNotEmpty( pErrorMessage, pStringToAssert );
265 266 if ( pStringToAssert.contains( "," ) )
266 267 {
267 - Utils.error( "String", pErrorMessage, " is not allowed to contain any Commas (',')" );
268 + Strings.error( "String", pErrorMessage, " is not allowed to contain any Commas (',')" );
268 269 }
269 270
270 271 return pStringToAssert;