diff --git a/.idea/compiler.xml b/.idea/compiler.xml index d62eaf2220..7871abe352 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -10,6 +10,8 @@ + + @@ -22,6 +24,7 @@ + @@ -43,6 +46,8 @@ + + @@ -66,6 +71,9 @@ + + + @@ -127,6 +135,10 @@ + + + + @@ -134,6 +146,10 @@ + + + + @@ -191,4 +207,4 @@ - + \ No newline at end of file diff --git a/finance/src/test/kotlin/net/corda/finance/contracts/asset/DummyFungibleContract.kt b/finance/src/test/kotlin/net/corda/finance/contracts/asset/DummyFungibleContract.kt index 9ef43218e7..9c7493f973 100644 --- a/finance/src/test/kotlin/net/corda/finance/contracts/asset/DummyFungibleContract.kt +++ b/finance/src/test/kotlin/net/corda/finance/contracts/asset/DummyFungibleContract.kt @@ -18,9 +18,9 @@ import net.corda.core.schemas.MappedSchema import net.corda.core.schemas.PersistentState import net.corda.core.schemas.QueryableState import net.corda.core.transactions.LedgerTransaction -import net.corda.finance.sampleschemas.SampleCashSchemaV1 -import net.corda.finance.sampleschemas.SampleCashSchemaV2 -import net.corda.finance.sampleschemas.SampleCashSchemaV3 +import net.corda.finance.schemas.SampleCashSchemaV1 +import net.corda.finance.schemas.SampleCashSchemaV2 +import net.corda.finance.schemas.SampleCashSchemaV3 import net.corda.finance.utils.sumCash import net.corda.finance.utils.sumCashOrNull import net.corda.finance.utils.sumCashOrZero diff --git a/finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCashSchemaV1.kt b/finance/src/test/kotlin/net/corda/finance/schemas/SampleCashSchemaV1.kt similarity index 98% rename from finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCashSchemaV1.kt rename to finance/src/test/kotlin/net/corda/finance/schemas/SampleCashSchemaV1.kt index 604a90b625..86a64aaa17 100644 --- a/finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCashSchemaV1.kt +++ b/finance/src/test/kotlin/net/corda/finance/schemas/SampleCashSchemaV1.kt @@ -8,7 +8,7 @@ * Distribution of this file or any portion thereof via any medium without the express permission of R3 is strictly prohibited. */ -package net.corda.finance.sampleschemas +package net.corda.finance.schemas import net.corda.core.contracts.MAX_ISSUER_REF_SIZE import net.corda.core.schemas.MappedSchema diff --git a/finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCashSchemaV2.kt b/finance/src/test/kotlin/net/corda/finance/schemas/SampleCashSchemaV2.kt similarity index 97% rename from finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCashSchemaV2.kt rename to finance/src/test/kotlin/net/corda/finance/schemas/SampleCashSchemaV2.kt index 505dd914ff..239c70459f 100644 --- a/finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCashSchemaV2.kt +++ b/finance/src/test/kotlin/net/corda/finance/schemas/SampleCashSchemaV2.kt @@ -8,7 +8,7 @@ * Distribution of this file or any portion thereof via any medium without the express permission of R3 is strictly prohibited. */ -package net.corda.finance.sampleschemas +package net.corda.finance.schemas import net.corda.core.identity.AbstractParty import net.corda.core.schemas.CommonSchemaV1 diff --git a/finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCashSchemaV3.kt b/finance/src/test/kotlin/net/corda/finance/schemas/SampleCashSchemaV3.kt similarity index 98% rename from finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCashSchemaV3.kt rename to finance/src/test/kotlin/net/corda/finance/schemas/SampleCashSchemaV3.kt index 685cbd63bf..d21ff2d6f0 100644 --- a/finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCashSchemaV3.kt +++ b/finance/src/test/kotlin/net/corda/finance/schemas/SampleCashSchemaV3.kt @@ -8,7 +8,7 @@ * Distribution of this file or any portion thereof via any medium without the express permission of R3 is strictly prohibited. */ -package net.corda.finance.sampleschemas +package net.corda.finance.schemas import net.corda.core.contracts.MAX_ISSUER_REF_SIZE import net.corda.core.identity.AbstractParty diff --git a/finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCommercialPaperSchemaV1.kt b/finance/src/test/kotlin/net/corda/finance/schemas/SampleCommercialPaperSchemaV1.kt similarity index 98% rename from finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCommercialPaperSchemaV1.kt rename to finance/src/test/kotlin/net/corda/finance/schemas/SampleCommercialPaperSchemaV1.kt index 3a47e80167..4552a88f34 100644 --- a/finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCommercialPaperSchemaV1.kt +++ b/finance/src/test/kotlin/net/corda/finance/schemas/SampleCommercialPaperSchemaV1.kt @@ -8,7 +8,7 @@ * Distribution of this file or any portion thereof via any medium without the express permission of R3 is strictly prohibited. */ -package net.corda.finance.sampleschemas +package net.corda.finance.schemas import net.corda.core.contracts.MAX_ISSUER_REF_SIZE import net.corda.core.schemas.MappedSchema diff --git a/finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCommercialPaperSchemaV2.kt b/finance/src/test/kotlin/net/corda/finance/schemas/SampleCommercialPaperSchemaV2.kt similarity index 98% rename from finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCommercialPaperSchemaV2.kt rename to finance/src/test/kotlin/net/corda/finance/schemas/SampleCommercialPaperSchemaV2.kt index f631084167..338e673187 100644 --- a/finance/src/test/kotlin/net/corda/finance/sampleschemas/SampleCommercialPaperSchemaV2.kt +++ b/finance/src/test/kotlin/net/corda/finance/schemas/SampleCommercialPaperSchemaV2.kt @@ -8,7 +8,7 @@ * Distribution of this file or any portion thereof via any medium without the express permission of R3 is strictly prohibited. */ -package net.corda.finance.sampleschemas +package net.corda.finance.schemas import net.corda.core.contracts.MAX_ISSUER_REF_SIZE import net.corda.core.identity.AbstractParty diff --git a/node/src/test/java/net/corda/node/services/vault/VaultQueryJavaTests.java b/node/src/test/java/net/corda/node/services/vault/VaultQueryJavaTests.java index 7619517b4f..73e5f3ae02 100644 --- a/node/src/test/java/net/corda/node/services/vault/VaultQueryJavaTests.java +++ b/node/src/test/java/net/corda/node/services/vault/VaultQueryJavaTests.java @@ -29,7 +29,7 @@ import net.corda.core.node.services.vault.QueryCriteria.VaultCustomQueryCriteria import net.corda.core.node.services.vault.QueryCriteria.VaultQueryCriteria; import net.corda.finance.contracts.DealState; import net.corda.finance.contracts.asset.Cash; -import net.corda.finance.sampleschemas.SampleCashSchemaV2; +import net.corda.finance.schemas.SampleCashSchemaV2; import net.corda.finance.schemas.CashSchemaV1; import net.corda.node.services.api.IdentityServiceInternal; import net.corda.nodeapi.internal.persistence.CordaPersistence; diff --git a/node/src/test/kotlin/net/corda/node/services/persistence/HibernateConfigurationTest.kt b/node/src/test/kotlin/net/corda/node/services/persistence/HibernateConfigurationTest.kt index 571aaa5789..8918f6c125 100644 --- a/node/src/test/kotlin/net/corda/node/services/persistence/HibernateConfigurationTest.kt +++ b/node/src/test/kotlin/net/corda/node/services/persistence/HibernateConfigurationTest.kt @@ -34,8 +34,8 @@ import net.corda.finance.POUNDS import net.corda.finance.SWISS_FRANCS import net.corda.finance.contracts.asset.Cash import net.corda.finance.contracts.asset.DummyFungibleContract -import net.corda.finance.sampleschemas.SampleCashSchemaV2 -import net.corda.finance.sampleschemas.SampleCashSchemaV3 +import net.corda.finance.schemas.SampleCashSchemaV2 +import net.corda.finance.schemas.SampleCashSchemaV3 import net.corda.finance.schemas.CashSchemaV1 import net.corda.finance.utils.sumCash import net.corda.node.internal.configureDatabase diff --git a/node/src/test/kotlin/net/corda/node/services/vault/VaultQueryExceptionsTests.kt b/node/src/test/kotlin/net/corda/node/services/vault/VaultQueryExceptionsTests.kt index d67ae7475a..4b0714e9c1 100644 --- a/node/src/test/kotlin/net/corda/node/services/vault/VaultQueryExceptionsTests.kt +++ b/node/src/test/kotlin/net/corda/node/services/vault/VaultQueryExceptionsTests.kt @@ -16,7 +16,7 @@ import net.corda.core.node.services.vault.* import net.corda.core.node.services.vault.QueryCriteria.* import net.corda.finance.* import net.corda.finance.contracts.asset.Cash -import net.corda.finance.sampleschemas.SampleCashSchemaV3 +import net.corda.finance.schemas.SampleCashSchemaV3 import net.corda.finance.schemas.CashSchemaV1 import net.corda.testing.core.* import net.corda.testing.internal.vault.DummyLinearStateSchemaV1 diff --git a/node/src/test/kotlin/net/corda/node/services/vault/VaultQueryTests.kt b/node/src/test/kotlin/net/corda/node/services/vault/VaultQueryTests.kt index 9f3f09f32f..c8884bf547 100644 --- a/node/src/test/kotlin/net/corda/node/services/vault/VaultQueryTests.kt +++ b/node/src/test/kotlin/net/corda/node/services/vault/VaultQueryTests.kt @@ -28,8 +28,8 @@ import net.corda.finance.contracts.Commodity import net.corda.finance.contracts.DealState import net.corda.finance.contracts.asset.Cash import net.corda.finance.contracts.asset.cash.selection.AbstractCashSelection -import net.corda.finance.sampleschemas.SampleCashSchemaV2 -import net.corda.finance.sampleschemas.SampleCashSchemaV3 +import net.corda.finance.schemas.SampleCashSchemaV2 +import net.corda.finance.schemas.SampleCashSchemaV3 import net.corda.finance.schemas.CashSchemaV1 import net.corda.finance.schemas.CashSchemaV1.PersistentCashState import net.corda.finance.schemas.CommercialPaperSchemaV1