Fixed confusing values
This commit is contained in:
parent
9aef066506
commit
c2d9c5341b
@ -128,7 +128,7 @@ class RmiTest extends BaseTest {
|
|||||||
System.out.println("You should see this 2 seconds before");
|
System.out.println("You should see this 2 seconds before");
|
||||||
float slow = test.slow();
|
float slow = test.slow();
|
||||||
System.out.println("...This");
|
System.out.println("...This");
|
||||||
assertEquals(slow, 123, .0001D);
|
assertEquals(slow, 123, 0.0001D);
|
||||||
|
|
||||||
|
|
||||||
// Test sending a reference to a remote object.
|
// Test sending a reference to a remote object.
|
||||||
@ -304,7 +304,7 @@ class RmiTest extends BaseTest {
|
|||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
return 123f;
|
return 123.0F;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user