Fixed comments

This commit is contained in:
nathan 2017-09-25 22:11:36 +02:00
parent 37adecd68a
commit cddbe68222

View File

@ -222,12 +222,12 @@ class RmiTest extends BaseTest {
@Override @Override
public public
void created(final TestCow remoteObject) { void created(final TestCow remoteObject) {
// MUST run on a separate thread because remote object method invocations are blocking
new Thread() { new Thread() {
@Override @Override
public public
void run() { void run() {
System.err.println("Running test for: Server -> Client"); System.err.println("Running test for: Server -> Client");
// MUST run on a separate thread because remote object method invocations are blocking
runTests(connection, remoteObject, 2); runTests(connection, remoteObject, 2);
System.err.println("Done with test for: Server -> Client"); System.err.println("Done with test for: Server -> Client");
} }
@ -276,12 +276,12 @@ class RmiTest extends BaseTest {
@Override @Override
public public
void created(final TestCow remoteObject) { void created(final TestCow remoteObject) {
// MUST run on a separate thread because remote object method invocations are blocking
new Thread() { new Thread() {
@Override @Override
public public
void run() { void run() {
System.err.println("Running test for: Client -> Server"); System.err.println("Running test for: Client -> Server");
// MUST run on a separate thread because remote object method invocations are blocking
runTests(connection, remoteObject, 1); runTests(connection, remoteObject, 1);
System.err.println("Done with test for: Client -> Server"); System.err.println("Done with test for: Client -> Server");
} }