Fixed comments
This commit is contained in:
parent
37adecd68a
commit
cddbe68222
@ -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");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user