diff --git a/.idea/compiler.xml b/.idea/compiler.xml index ce1346b263..4042d5bda3 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -45,6 +45,10 @@ + + + + diff --git a/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/TwoPartyTradeFlowTest.kt b/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/TwoPartyTradeFlowTest.kt index 360b0f7683..48d6e4163a 100644 --- a/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/TwoPartyTradeFlowTest.kt +++ b/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/TwoPartyTradeFlowTest.kt @@ -62,8 +62,9 @@ import net.corda.testing.dsl.TestTransactionDSLInterpreter import net.corda.testing.internal.LogHelper import net.corda.testing.internal.TEST_TX_TIME import net.corda.testing.internal.rigorousMock -import net.corda.testing.node.* +import net.corda.testing.node.MockServices import net.corda.testing.node.internal.* +import net.corda.testing.node.ledger import org.assertj.core.api.Assertions.assertThat import org.junit.After import org.junit.Before @@ -245,7 +246,7 @@ class TwoPartyTradeFlowTests(private val anonymous: Boolean) { aliceNode.internals.disableDBCloseOnStop() bobNode.internals.disableDBCloseOnStop() - val bobAddr = bobNode.network.myAddress as InMemoryMessagingNetwork.PeerHandle + val bobAddr = bobNode.network.myAddress mockNet.runNetwork() // Clear network map registration messages val notary = mockNet.defaultNotaryIdentity diff --git a/tools/shell/src/test/java/net/corda/tools/shell/InteractiveShellJavaTest.java b/tools/shell/src/test/java/net/corda/tools/shell/InteractiveShellJavaTest.java index 498482b057..03e21ae9ff 100644 --- a/tools/shell/src/test/java/net/corda/tools/shell/InteractiveShellJavaTest.java +++ b/tools/shell/src/test/java/net/corda/tools/shell/InteractiveShellJavaTest.java @@ -122,6 +122,7 @@ public class InteractiveShellJavaTest { private InMemoryIdentityService ids = new InMemoryIdentityService(Lists.newArrayList(megaCorp.getIdentity()), InternalTestConstantsKt.getDEV_ROOT_CA().getCertificate()); + @SuppressWarnings("deprecation") private ObjectMapper om = JacksonSupport.createInMemoryMapper(ids, new YAMLFactory()); private String output;