Java 11 migrate remaining q-r (#1121)

* Moves queue-load-leveling to Java 11

* Moves reactor to Java 11

* Moves reader-writer-lock to Java 11

* Moves repository to Java 11

* Moves resource-acquisition-is-initialization to Java 11

* Moves retry to Java 11

* Moves role-object to Java 11
This commit is contained in:
Anurag Agarwal
2020-01-04 22:13:12 +05:30
committed by Ilkka Seppälä
parent cd2a2e7711
commit 20ea465b7f
52 changed files with 424 additions and 554 deletions
@@ -27,12 +27,11 @@ import org.junit.Test;
public class InvestorRoleTest {
@Test
public void investTest() {
InvestorRole investorRole = new InvestorRole();
investorRole.setName("test");
investorRole.setAmountToInvest(10);
String res = "Investor test has invested 10 dollars";
Assert.assertEquals(investorRole.invest(), res);
}
@Test
public void investTest() {
var investorRole = new InvestorRole();
investorRole.setName("test");
investorRole.setAmountToInvest(10);
Assert.assertEquals(investorRole.invest(), "Investor test has invested 10 dollars");
}
}