diff --git a/legend-engine-config/legend-engine-repl/legend-engine-repl-client/src/main/java/org/finos/legend/engine/repl/autocomplete/Completer.java b/legend-engine-config/legend-engine-repl/legend-engine-repl-client/src/main/java/org/finos/legend/engine/repl/autocomplete/Completer.java index e9fec39563b..9efff322e6f 100644 --- a/legend-engine-config/legend-engine-repl/legend-engine-repl-client/src/main/java/org/finos/legend/engine/repl/autocomplete/Completer.java +++ b/legend-engine-config/legend-engine-repl/legend-engine-repl-client/src/main/java/org/finos/legend/engine/repl/autocomplete/Completer.java @@ -47,7 +47,6 @@ import org.finos.legend.engine.repl.autocomplete.handlers.SortHandler; import org.finos.legend.engine.repl.autocomplete.parser.ParserFixer; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.finos.legend.engine.shared.core.operational.errorManagement.EngineException; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.FunctionAccessor; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.multiplicity.Multiplicity; diff --git a/legend-engine-config/legend-engine-repl/legend-engine-repl-client/src/main/java/org/finos/legend/engine/repl/core/legend/LocalLegendInterface.java b/legend-engine-config/legend-engine-repl/legend-engine-repl-client/src/main/java/org/finos/legend/engine/repl/core/legend/LocalLegendInterface.java index 3dc3509a3e3..42bc61c61af 100644 --- a/legend-engine-config/legend-engine-repl/legend-engine-repl-client/src/main/java/org/finos/legend/engine/repl/core/legend/LocalLegendInterface.java +++ b/legend-engine-config/legend-engine-repl/legend-engine-repl-client/src/main/java/org/finos/legend/engine/repl/core/legend/LocalLegendInterface.java @@ -25,7 +25,6 @@ import org.finos.legend.engine.pure.code.core.PureCoreExtensionLoader; import org.finos.legend.engine.shared.core.deployment.DeploymentMode; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.finos.legend.pure.generated.Root_meta_pure_executionPlan_ExecutionPlan; import org.finos.legend.pure.generated.Root_meta_pure_extension_Extension; diff --git a/legend-engine-config/legend-engine-repl/legend-engine-repl-relational/src/main/java/org/finos/legend/engine/repl/relational/RelationalReplExtension.java b/legend-engine-config/legend-engine-repl/legend-engine-repl-relational/src/main/java/org/finos/legend/engine/repl/relational/RelationalReplExtension.java index acd83939f88..6f442f5beef 100644 --- a/legend-engine-config/legend-engine-repl/legend-engine-repl-relational/src/main/java/org/finos/legend/engine/repl/relational/RelationalReplExtension.java +++ b/legend-engine-config/legend-engine-repl/legend-engine-repl-relational/src/main/java/org/finos/legend/engine/repl/relational/RelationalReplExtension.java @@ -34,7 +34,6 @@ import java.sql.SQLException; import static org.finos.legend.engine.repl.relational.grid.Grid.prettyGridPrint; -import static org.finos.legend.engine.repl.relational.schema.MetadataReader.getTables; public class RelationalReplExtension implements ReplExtension { diff --git a/legend-engine-config/legend-engine-repl/legend-engine-repl-relational/src/main/java/org/finos/legend/engine/repl/relational/httpServer/ReplGridServer.java b/legend-engine-config/legend-engine-repl/legend-engine-repl-relational/src/main/java/org/finos/legend/engine/repl/relational/httpServer/ReplGridServer.java index 80991d4f5e0..bb0f4c2f236 100644 --- a/legend-engine-config/legend-engine-repl/legend-engine-repl-relational/src/main/java/org/finos/legend/engine/repl/relational/httpServer/ReplGridServer.java +++ b/legend-engine-config/legend-engine-repl/legend-engine-repl-relational/src/main/java/org/finos/legend/engine/repl/relational/httpServer/ReplGridServer.java @@ -57,9 +57,6 @@ import java.io.OutputStream; import java.net.InetSocketAddress; import java.nio.charset.StandardCharsets; -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; import java.util.HashMap; import java.util.List; import java.util.Map; diff --git a/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/main/java/org/finos/legend/engine/server/core/api/CurrentUser.java b/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/main/java/org/finos/legend/engine/server/core/api/CurrentUser.java index e7ef330870c..3cbf734a73d 100644 --- a/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/main/java/org/finos/legend/engine/server/core/api/CurrentUser.java +++ b/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/main/java/org/finos/legend/engine/server/core/api/CurrentUser.java @@ -20,7 +20,6 @@ import org.pac4j.core.profile.CommonProfile; import org.pac4j.core.profile.ProfileManager; import org.pac4j.jax.rs.annotations.Pac4JProfileManager; -import org.slf4j.Logger; import javax.ws.rs.GET; import javax.ws.rs.Path; diff --git a/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/main/java/org/finos/legend/engine/server/core/exceptionMappers/CatchAllExceptionMapper.java b/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/main/java/org/finos/legend/engine/server/core/exceptionMappers/CatchAllExceptionMapper.java index e26d793e281..48e5d498bd1 100644 --- a/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/main/java/org/finos/legend/engine/server/core/exceptionMappers/CatchAllExceptionMapper.java +++ b/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/main/java/org/finos/legend/engine/server/core/exceptionMappers/CatchAllExceptionMapper.java @@ -16,7 +16,6 @@ import org.finos.legend.engine.shared.core.operational.errorManagement.ExceptionTool; import org.finos.legend.engine.shared.core.operational.logs.LoggingEventType; -import org.slf4j.Logger; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; diff --git a/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/test/java/org/finos/legend/engine/server/core/session/TestSessionTracker.java b/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/test/java/org/finos/legend/engine/server/core/session/TestSessionTracker.java index 006752015bc..3adab475a8f 100644 --- a/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/test/java/org/finos/legend/engine/server/core/session/TestSessionTracker.java +++ b/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/test/java/org/finos/legend/engine/server/core/session/TestSessionTracker.java @@ -14,8 +14,6 @@ package org.finos.legend.engine.server.core.session; -import org.finos.legend.engine.protocol.analytics.model.MappedProperty; -import org.finos.legend.engine.shared.core.operational.Assert; import org.junit.Test; import org.mockito.Mockito; diff --git a/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/test/java/org/finos/legend/engine/server/test/pureClient/executionPlan/Test_ExecutionPlan_JavaPlatform_UsingPureClient.java b/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/test/java/org/finos/legend/engine/server/test/pureClient/executionPlan/Test_ExecutionPlan_JavaPlatform_UsingPureClient.java index b0ebf5d44e4..a5270f3ce04 100644 --- a/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/test/java/org/finos/legend/engine/server/test/pureClient/executionPlan/Test_ExecutionPlan_JavaPlatform_UsingPureClient.java +++ b/legend-engine-config/legend-engine-server/legend-engine-server-http-server/src/test/java/org/finos/legend/engine/server/test/pureClient/executionPlan/Test_ExecutionPlan_JavaPlatform_UsingPureClient.java @@ -16,7 +16,6 @@ import junit.framework.Test; import junit.framework.TestSuite; -import org.finos.legend.engine.server.test.shared.PureTestHelper; import org.finos.legend.engine.server.test.shared.PureWithEngineHelper; import org.finos.legend.pure.m3.execution.test.TestCollection; import org.finos.legend.pure.runtime.java.compiled.execution.CompiledExecutionSupport; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/graphFetch/ParallelGraphFetchExecutionConfig.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/graphFetch/ParallelGraphFetchExecutionConfig.java index 7a299d0d357..e726805f075 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/graphFetch/ParallelGraphFetchExecutionConfig.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/graphFetch/ParallelGraphFetchExecutionConfig.java @@ -16,8 +16,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; -import java.util.HashMap; -import java.util.Map; public class ParallelGraphFetchExecutionConfig diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/nodes/helpers/platform/ExecutionNodeJavaPlatformHelper.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/nodes/helpers/platform/ExecutionNodeJavaPlatformHelper.java index c15f711091d..57164b15422 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/nodes/helpers/platform/ExecutionNodeJavaPlatformHelper.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/nodes/helpers/platform/ExecutionNodeJavaPlatformHelper.java @@ -30,7 +30,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.JavaClass; import org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.JavaPlatformImplementation; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.finos.legend.engine.shared.core.operational.logs.LogInfo; import org.finos.legend.engine.shared.core.operational.logs.LoggingEventType; import org.finos.legend.engine.shared.javaCompiler.EngineJavaCompiler; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/parameterization/ParameterizedValueSpecification.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/parameterization/ParameterizedValueSpecification.java index 5b999506f61..99513a373f7 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/parameterization/ParameterizedValueSpecification.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/parameterization/ParameterizedValueSpecification.java @@ -50,7 +50,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.Whatever; import java.util.ArrayList; -import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/result/serialization/TDSResultToPureFormatSerializer.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/result/serialization/TDSResultToPureFormatSerializer.java index b07ef204df6..556ccd852c3 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/result/serialization/TDSResultToPureFormatSerializer.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/result/serialization/TDSResultToPureFormatSerializer.java @@ -21,17 +21,12 @@ import io.opentracing.util.GlobalTracer; import java.io.IOException; import java.io.OutputStream; -import java.math.BigDecimal; import java.util.Iterator; import java.util.List; -import java.util.Objects; import java.util.stream.Collectors; import java.util.stream.Stream; import org.eclipse.collections.impl.block.procedure.checked.ThrowingProcedure; -import org.eclipse.collections.impl.block.procedure.checked.ThrowingProcedure2; -import org.finos.legend.engine.plan.dependencies.domain.date.PureDate; import org.finos.legend.engine.plan.execution.result.TDSResult; -import org.finos.legend.engine.protocol.pure.v1.model.executionPlan.result.TDSColumn; public abstract class TDSResultToPureFormatSerializer extends Serializer { diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/StoreExecutorBuilder.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/StoreExecutorBuilder.java index bbdf3c54279..532acccc627 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/StoreExecutorBuilder.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/StoreExecutorBuilder.java @@ -14,8 +14,6 @@ package org.finos.legend.engine.plan.execution.stores; -import org.eclipse.collections.api.factory.Lists; -import org.eclipse.collections.api.list.MutableList; import org.finos.legend.engine.shared.core.extension.LegendPlanExtension; public interface StoreExecutorBuilder extends LegendPlanExtension diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/test/java/org/finos/legend/engine/plan/execution/stores/TestStoreExecutableManager.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/test/java/org/finos/legend/engine/plan/execution/stores/TestStoreExecutableManager.java index b868de74541..c0b61b98dae 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/test/java/org/finos/legend/engine/plan/execution/stores/TestStoreExecutableManager.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-executionPlan-execution/legend-engine-executionPlan-execution/src/test/java/org/finos/legend/engine/plan/execution/stores/TestStoreExecutableManager.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.plan.execution.stores; import org.finos.legend.engine.shared.core.api.request.RequestContext; -import org.junit.Assert; import org.junit.Test; public class TestStoreExecutableManager diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler-http-api/src/test/java/org/finos/legend/engine/language/pure/compiler/api/test/TestCompileApi.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler-http-api/src/test/java/org/finos/legend/engine/language/pure/compiler/api/test/TestCompileApi.java index 9c606a7dd14..6447d4e2603 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler-http-api/src/test/java/org/finos/legend/engine/language/pure/compiler/api/test/TestCompileApi.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler-http-api/src/test/java/org/finos/legend/engine/language/pure/compiler/api/test/TestCompileApi.java @@ -21,15 +21,12 @@ import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextData; import org.finos.legend.engine.shared.core.ObjectMapperFactory; import org.finos.legend.engine.shared.core.deployment.DeploymentMode; -import org.finos.legend.engine.shared.core.operational.errorManagement.EngineException; import org.junit.Test; -import java.util.List; import java.util.Objects; import java.util.Scanner; import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; public class TestCompileApi { diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/Compiler.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/Compiler.java index 5b046840980..ee0320a4222 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/Compiler.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/Compiler.java @@ -23,7 +23,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextData; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.Lambda; import org.finos.legend.engine.shared.core.deployment.DeploymentMode; -import org.finos.legend.engine.shared.core.identity.Identity; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.PackageableElement; import org.finos.legend.pure.runtime.java.compiled.metadata.Metadata; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ClassMappingFirstPassBuilder.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ClassMappingFirstPassBuilder.java index 8e1ce6eb87c..fc9ee920e13 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ClassMappingFirstPassBuilder.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ClassMappingFirstPassBuilder.java @@ -43,7 +43,6 @@ import org.finos.legend.pure.m3.coreinstance.meta.pure.mapping.aggregationAware.AggregationAwareSetImplementation; import org.finos.legend.pure.m3.coreinstance.meta.external.store.model.PureInstanceSetImplementation; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.LambdaFunction; -import org.finos.legend.pure.m4.coreinstance.SourceInformation; import java.util.List; import java.util.Objects; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ConnectionFirstPassBuilder.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ConnectionFirstPassBuilder.java index 9abc2e62955..78813ce5f88 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ConnectionFirstPassBuilder.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ConnectionFirstPassBuilder.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.language.pure.compiler.toPureGraph; import org.eclipse.collections.api.map.MutableMap; -import org.eclipse.collections.impl.factory.Lists; import org.eclipse.collections.impl.utility.ListIterate; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.connection.ConnectionPointer; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.connection.ConnectionVisitor; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/HelperValueSpecificationBuilder.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/HelperValueSpecificationBuilder.java index 60ba7af5fbc..a6339c64f1a 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/HelperValueSpecificationBuilder.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/HelperValueSpecificationBuilder.java @@ -39,7 +39,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.executionContext.BaseExecutionContext; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.executionContext.ExecutionContext; import org.finos.legend.engine.shared.core.operational.errorManagement.EngineException; -import org.finos.legend.engine.shared.core.operational.errorManagement.ExceptionCategory; import org.finos.legend.pure.generated.*; import org.finos.legend.pure.m3.coreinstance.meta.pure.graphFetch.GraphFetchTree; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.PackageableElement; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/MilestoningDatePropagationHelper.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/MilestoningDatePropagationHelper.java index 26344ee14df..5ecf82904a7 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/MilestoningDatePropagationHelper.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/MilestoningDatePropagationHelper.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.language.pure.compiler.toPureGraph; -import org.eclipse.collections.api.RichIterable; import org.eclipse.collections.api.list.ImmutableList; import org.eclipse.collections.api.list.ListIterable; import org.eclipse.collections.api.list.MutableList; @@ -24,7 +23,6 @@ import org.eclipse.collections.impl.tuple.Tuples; import org.eclipse.collections.impl.utility.ArrayIterate; import org.eclipse.collections.impl.utility.LazyIterate; -import org.eclipse.collections.impl.utility.ListIterate; import org.finos.legend.engine.protocol.pure.v1.model.SourceInformation; import org.finos.legend.engine.protocol.pure.v1.model.context.EngineErrorType; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.application.AppliedFunction; @@ -32,7 +30,6 @@ import org.finos.legend.engine.shared.core.operational.errorManagement.EngineException; import org.finos.legend.pure.m3.compiler.postprocessing.processor.milestoning.MilestoningStereotype; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.extension.AnnotatedElement; -import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.extension.Stereotype; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.property.AbstractProperty; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.property.Property; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.property.QualifiedProperty; @@ -42,7 +39,6 @@ import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.valuespecification.FunctionExpression; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.valuespecification.SimpleFunctionExpression; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.valuespecification.ValueSpecification; -import org.finos.legend.pure.m3.navigation.profile.Profile; import java.util.Objects; import java.util.Stack; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/PackageableElementFifthPassBuilder.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/PackageableElementFifthPassBuilder.java index 96e7ca99702..d961c5cc8bb 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/PackageableElementFifthPassBuilder.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/PackageableElementFifthPassBuilder.java @@ -26,10 +26,7 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.mapping.Mapping; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.runtime.PackageableRuntime; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.section.SectionIndex; -import org.finos.legend.engine.shared.core.identity.Identity; import org.finos.legend.engine.shared.core.identity.factory.*; -import org.finos.legend.engine.shared.core.operational.logs.LogInfo; -import org.finos.legend.engine.shared.core.operational.logs.LoggingEventType; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.PackageableElement; public class PackageableElementFifthPassBuilder implements PackageableElementVisitor diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/PackageableElementFourthPassBuilder.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/PackageableElementFourthPassBuilder.java index c764421f208..56d172d9248 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/PackageableElementFourthPassBuilder.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/PackageableElementFourthPassBuilder.java @@ -44,9 +44,6 @@ import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.valuespecification.ValueSpecification; import org.slf4j.Logger; -import java.util.Collections; -import java.util.List; -import java.util.stream.Collectors; public class PackageableElementFourthPassBuilder implements PackageableElementVisitor { diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ValueSpecificationBuilder.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ValueSpecificationBuilder.java index 4fff8b67983..d2a50769451 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ValueSpecificationBuilder.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ValueSpecificationBuilder.java @@ -60,7 +60,6 @@ import org.finos.legend.pure.m3.navigation.ProcessorSupport; import org.finos.legend.pure.m3.navigation.relation._Column; import org.finos.legend.pure.m3.navigation.relation._RelationType; -import org.finos.legend.pure.m4.coreinstance.SourceInformation; import org.finos.legend.pure.m4.coreinstance.primitive.date.DateFormat; import org.finos.legend.pure.m4.coreinstance.primitive.date.LatestDate; import org.finos.legend.pure.m4.coreinstance.primitive.strictTime.StrictTimeFormat; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ValueSpecificationBuilderForFuncExpr.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ValueSpecificationBuilderForFuncExpr.java index 8dd55fb0cae..cc1029dace3 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ValueSpecificationBuilderForFuncExpr.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/ValueSpecificationBuilderForFuncExpr.java @@ -25,7 +25,6 @@ import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.valuespecification.InstanceValue; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.valuespecification.ValueSpecification; -import java.util.List; import java.util.Objects; public class ValueSpecificationBuilderForFuncExpr extends ValueSpecificationBuilder implements ValueSpecificationVisitor diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/validator/ProfileValidator.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/validator/ProfileValidator.java index 7d4bf542bd7..87c60a9d613 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/validator/ProfileValidator.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/validator/ProfileValidator.java @@ -21,9 +21,7 @@ import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; import org.finos.legend.engine.language.pure.compiler.toPureGraph.Warning; import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextData; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.domain.EnumValue; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.domain.Profile; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.domain.TagPtr; import java.util.LinkedHashMap; import java.util.Map; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/test/java/org/finos/legend/engine/language/pure/compiler/test/TestRoundTripWithPureTransformation.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/test/java/org/finos/legend/engine/language/pure/compiler/test/TestRoundTripWithPureTransformation.java index c49af6a80ea..6366096d5dc 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/test/java/org/finos/legend/engine/language/pure/compiler/test/TestRoundTripWithPureTransformation.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-compiler/src/test/java/org/finos/legend/engine/language/pure/compiler/test/TestRoundTripWithPureTransformation.java @@ -16,7 +16,6 @@ import com.fasterxml.jackson.databind.ObjectMapper; import org.eclipse.collections.api.factory.Lists; -import org.eclipse.collections.impl.list.mutable.FastList; import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; import org.finos.legend.engine.language.pure.grammar.from.PureGrammarParser; import org.finos.legend.engine.language.pure.grammar.to.DEPRECATED_PureGrammarComposerCore; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/ParserErrorListener.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/ParserErrorListener.java index 21793863c51..3f944c0e44a 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/ParserErrorListener.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/ParserErrorListener.java @@ -25,7 +25,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.context.EngineErrorType; import org.finos.legend.engine.shared.core.operational.errorManagement.EngineException; -import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.Optional; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/domain/DateParseTreeWalker.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/domain/DateParseTreeWalker.java index 576fa176d16..24955c8bdd8 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/domain/DateParseTreeWalker.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/domain/DateParseTreeWalker.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.language.pure.grammar.from.domain; import org.antlr.v4.runtime.tree.TerminalNode; -import org.eclipse.collections.impl.factory.Lists; import org.finos.legend.engine.language.pure.grammar.from.ParseTreeWalkerSourceInformation; import org.finos.legend.engine.protocol.pure.v1.model.context.EngineErrorType; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.CDate; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/domain/StrictTimeParseTreeWalker.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/domain/StrictTimeParseTreeWalker.java index 4337de3e567..6a383c19658 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/domain/StrictTimeParseTreeWalker.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/domain/StrictTimeParseTreeWalker.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.language.pure.grammar.from.domain; import org.antlr.v4.runtime.tree.TerminalNode; -import org.eclipse.collections.impl.factory.Lists; import org.finos.legend.engine.language.pure.grammar.from.ParseTreeWalkerSourceInformation; import org.finos.legend.engine.protocol.pure.v1.model.context.EngineErrorType; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.CStrictTime; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/extension/EmbeddedPureParser.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/extension/EmbeddedPureParser.java index abfadd25969..119d40a8e09 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/extension/EmbeddedPureParser.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/extension/EmbeddedPureParser.java @@ -14,10 +14,8 @@ package org.finos.legend.engine.language.pure.grammar.from.extension; -import org.eclipse.collections.api.list.ListIterable; import org.finos.legend.engine.language.pure.grammar.from.ParseTreeWalkerSourceInformation; import org.finos.legend.engine.protocol.pure.v1.model.SourceInformation; -import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.ValueSpecification; public interface EmbeddedPureParser { diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/mapping/MappingIncludeParser.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/mapping/MappingIncludeParser.java index e0ece893d13..7349b3613a8 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/mapping/MappingIncludeParser.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/mapping/MappingIncludeParser.java @@ -17,12 +17,9 @@ import org.antlr.v4.runtime.tree.TerminalNode; import org.eclipse.collections.api.block.function.Function2; import org.finos.legend.engine.language.pure.grammar.from.ParseTreeWalkerSourceInformation; -import org.finos.legend.engine.language.pure.grammar.from.PureGrammarParserContext; import org.finos.legend.engine.language.pure.grammar.from.antlr4.mapping.MappingParserGrammar; -import org.finos.legend.engine.language.pure.grammar.from.extension.MappingElementParser; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.mapping.MappingInclude; -import java.util.function.BiFunction; public interface MappingIncludeParser { diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/to/extension/PureGrammarComposerExtensionLoader.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/to/extension/PureGrammarComposerExtensionLoader.java index dc0cdcb650c..c3ffab79757 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/to/extension/PureGrammarComposerExtensionLoader.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/to/extension/PureGrammarComposerExtensionLoader.java @@ -16,9 +16,6 @@ import org.eclipse.collections.impl.factory.Lists; import org.eclipse.collections.impl.utility.LazyIterate; -import org.finos.legend.engine.language.pure.grammar.from.extension.PureGrammarParserExtension; -import org.finos.legend.engine.language.pure.grammar.from.extension.PureGrammarParserExtensionLoader; -import org.slf4j.Logger; import java.util.List; import java.util.ServiceLoader; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-modelManager-sdlc/src/main/java/org/finos/legend/engine/language/pure/modelManager/sdlc/workspace/WorkspaceSDLCLoader.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-modelManager-sdlc/src/main/java/org/finos/legend/engine/language/pure/modelManager/sdlc/workspace/WorkspaceSDLCLoader.java index 7e1cbbe56c3..21c03b83897 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-modelManager-sdlc/src/main/java/org/finos/legend/engine/language/pure/modelManager/sdlc/workspace/WorkspaceSDLCLoader.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-language-pure-modelManager-sdlc/src/main/java/org/finos/legend/engine/language/pure/modelManager/sdlc/workspace/WorkspaceSDLCLoader.java @@ -28,7 +28,6 @@ import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.BasicCookieStore; import org.apache.http.impl.client.CloseableHttpClient; -import org.apache.http.message.BasicHeader; import org.finos.legend.engine.language.pure.modelManager.ModelManager; import org.finos.legend.engine.language.pure.modelManager.sdlc.SDLCLoader; import org.finos.legend.engine.language.pure.modelManager.sdlc.configuration.MetadataServerPrivateAccessTokenConfiguration; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/extension/PureProtocolExtensionLoader.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/extension/PureProtocolExtensionLoader.java index 6779d6ee15f..f0f57ee8521 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/extension/PureProtocolExtensionLoader.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/extension/PureProtocolExtensionLoader.java @@ -16,7 +16,6 @@ import org.eclipse.collections.impl.factory.Lists; import org.eclipse.collections.impl.utility.LazyIterate; -import org.slf4j.Logger; import java.util.List; import java.util.ServiceLoader; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/function/FunctionTestSuite.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/function/FunctionTestSuite.java index 32cc47c6d75..15afae8ec59 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/function/FunctionTestSuite.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/function/FunctionTestSuite.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.protocol.pure.v1.model.packageableElement.function; -import org.finos.legend.engine.protocol.pure.v1.model.SourceInformation; import org.finos.legend.engine.protocol.pure.v1.model.test.TestSuite; import java.util.List; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/application/UnknownAppliedFunction.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/application/UnknownAppliedFunction.java index 014977c0331..11f80d0da67 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/application/UnknownAppliedFunction.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/application/UnknownAppliedFunction.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.application; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.domain.Multiplicity; -import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.ValueSpecification; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.ValueSpecificationVisitor; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.AbstractAppliedFunction; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/CString.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/CString.java index 5cd4e22b428..1493173488f 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/CString.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/CString.java @@ -19,8 +19,6 @@ import com.fasterxml.jackson.databind.JsonDeserializer; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.eclipse.collections.impl.factory.Lists; -import org.eclipse.collections.impl.utility.Iterate; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.ValueSpecification; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.ValueSpecificationVisitor; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/Whatever.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/Whatever.java index 78f7beb6c4c..3c241e5e104 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/Whatever.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/Whatever.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw; import com.fasterxml.jackson.annotation.JsonProperty; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.domain.Multiplicity; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.ValueSpecificationVisitor; @Deprecated diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/ExecutionContextInstance.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/ExecutionContextInstance.java index 850f5ba817c..3169782538d 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/ExecutionContextInstance.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/ExecutionContextInstance.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.classInstance; import org.finos.legend.engine.protocol.pure.v1.model.SourceInformation; -import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.ValueSpecificationVisitor; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.executionContext.ExecutionContext; // Should NOT extend ValueSpecification diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/PureList.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/PureList.java index 449d8f3a62d..c4394e34232 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/PureList.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/PureList.java @@ -16,7 +16,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.SourceInformation; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.ValueSpecification; -import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.ValueSpecificationVisitor; import java.util.Collections; import java.util.List; diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/RuntimeInstance.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/RuntimeInstance.java index e84369c5b03..7f9a1754f22 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/RuntimeInstance.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/RuntimeInstance.java @@ -16,7 +16,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.SourceInformation; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.runtime.Runtime; -import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.ValueSpecificationVisitor; // Should NOT extend ValueSpecification public class RuntimeInstance diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/TDSAggregateValue.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/TDSAggregateValue.java index 144c178aec1..3022cdf6310 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/TDSAggregateValue.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/TDSAggregateValue.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.classInstance; import org.finos.legend.engine.protocol.pure.v1.model.SourceInformation; -import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.ValueSpecificationVisitor; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.Lambda; // Should NOT extend ValueSpecification diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/graph/GraphFetchTree.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/graph/GraphFetchTree.java index 8bdecf6c91a..79fada585e7 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/graph/GraphFetchTree.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/valueSpecification/raw/classInstance/graph/GraphFetchTree.java @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import org.finos.legend.engine.protocol.pure.v1.model.SourceInformation; -import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.ValueSpecificationVisitor; import java.util.Collections; import java.util.List; diff --git a/legend-engine-core/legend-engine-core-external-format/legend-engine-external-format-execution/legend-engine-external-shared-format-runtime/src/main/java/org/finos/legend/engine/external/shared/runtime/ExternalFormatExecutionExtension.java b/legend-engine-core/legend-engine-core-external-format/legend-engine-external-format-execution/legend-engine-external-shared-format-runtime/src/main/java/org/finos/legend/engine/external/shared/runtime/ExternalFormatExecutionExtension.java index 229e949e2a3..bd7bce3aa06 100644 --- a/legend-engine-core/legend-engine-core-external-format/legend-engine-external-format-execution/legend-engine-external-shared-format-runtime/src/main/java/org/finos/legend/engine/external/shared/runtime/ExternalFormatExecutionExtension.java +++ b/legend-engine-core/legend-engine-core-external-format/legend-engine-external-format-execution/legend-engine-external-shared-format-runtime/src/main/java/org/finos/legend/engine/external/shared/runtime/ExternalFormatExecutionExtension.java @@ -16,7 +16,6 @@ import org.eclipse.collections.api.block.function.Function3; import org.eclipse.collections.api.list.MutableList; -import org.eclipse.collections.impl.factory.Lists; import org.finos.legend.engine.external.shared.runtime.read.ExecutionHelper; import org.finos.legend.engine.external.shared.utils.ExternalFormatRuntime; import org.finos.legend.engine.plan.dependencies.domain.dataQuality.BasicChecked; diff --git a/legend-engine-core/legend-engine-core-external-format/legend-engine-external-format-language/legend-engine-external-format-generation/src/main/java/org/finos/legend/engine/external/shared/format/model/transformation/fromModel/ExternalFormatSchemaGenerationExtension.java b/legend-engine-core/legend-engine-core-external-format/legend-engine-external-format-language/legend-engine-external-format-generation/src/main/java/org/finos/legend/engine/external/shared/format/model/transformation/fromModel/ExternalFormatSchemaGenerationExtension.java index e86f49e7234..b2582b54aa9 100644 --- a/legend-engine-core/legend-engine-core-external-format/legend-engine-external-format-language/legend-engine-external-format-generation/src/main/java/org/finos/legend/engine/external/shared/format/model/transformation/fromModel/ExternalFormatSchemaGenerationExtension.java +++ b/legend-engine-core/legend-engine-core-external-format/legend-engine-external-format-language/legend-engine-external-format-generation/src/main/java/org/finos/legend/engine/external/shared/format/model/transformation/fromModel/ExternalFormatSchemaGenerationExtension.java @@ -16,7 +16,6 @@ import org.eclipse.collections.api.RichIterable; import org.eclipse.collections.api.factory.Lists; -import org.eclipse.collections.api.list.MutableList; import org.eclipse.collections.impl.utility.ListIterate; import org.finos.legend.engine.external.shared.format.model.ExternalFormatExtension; import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; diff --git a/legend-engine-core/legend-engine-core-external-format/legend-engine-external-format-language/legend-engine-external-format-generation/src/main/java/org/finos/legend/engine/external/shared/format/model/transformation/toModel/ExternalFormatModelGenerationExtension.java b/legend-engine-core/legend-engine-core-external-format/legend-engine-external-format-language/legend-engine-external-format-generation/src/main/java/org/finos/legend/engine/external/shared/format/model/transformation/toModel/ExternalFormatModelGenerationExtension.java index f85f866ceac..c1e1c86f85f 100644 --- a/legend-engine-core/legend-engine-core-external-format/legend-engine-external-format-language/legend-engine-external-format-generation/src/main/java/org/finos/legend/engine/external/shared/format/model/transformation/toModel/ExternalFormatModelGenerationExtension.java +++ b/legend-engine-core/legend-engine-core-external-format/legend-engine-external-format-language/legend-engine-external-format-generation/src/main/java/org/finos/legend/engine/external/shared/format/model/transformation/toModel/ExternalFormatModelGenerationExtension.java @@ -16,7 +16,6 @@ import org.eclipse.collections.api.RichIterable; import org.eclipse.collections.api.factory.Lists; -import org.eclipse.collections.api.list.MutableList; import org.finos.legend.engine.external.shared.format.model.ExternalFormatExtension; import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; import org.finos.legend.engine.shared.core.operational.errorManagement.EngineException; diff --git a/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/main/java/org/finos/legend/engine/shared/core/identity/factory/DefaultIdentityFactory.java b/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/main/java/org/finos/legend/engine/shared/core/identity/factory/DefaultIdentityFactory.java index c111cc497cf..4c69c9c3d82 100644 --- a/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/main/java/org/finos/legend/engine/shared/core/identity/factory/DefaultIdentityFactory.java +++ b/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/main/java/org/finos/legend/engine/shared/core/identity/factory/DefaultIdentityFactory.java @@ -28,7 +28,6 @@ import javax.security.auth.Subject; import java.security.Principal; import java.util.List; -import java.util.Objects; import java.util.Optional; public final class DefaultIdentityFactory implements IdentityFactory diff --git a/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/main/java/org/finos/legend/engine/shared/core/identity/factory/IdentityFactory.java b/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/main/java/org/finos/legend/engine/shared/core/identity/factory/IdentityFactory.java index 63b5c0f1481..2ad926dc7f6 100644 --- a/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/main/java/org/finos/legend/engine/shared/core/identity/factory/IdentityFactory.java +++ b/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/main/java/org/finos/legend/engine/shared/core/identity/factory/IdentityFactory.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.shared.core.identity.factory; import org.eclipse.collections.api.list.MutableList; -import org.finos.legend.engine.shared.core.extension.LegendConnectionExtension; import org.finos.legend.engine.shared.core.extension.LegendExtension; import org.finos.legend.engine.shared.core.identity.Identity; import org.pac4j.core.profile.CommonProfile; diff --git a/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/main/java/org/finos/legend/engine/shared/core/operational/errorManagement/ExceptionTool.java b/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/main/java/org/finos/legend/engine/shared/core/operational/errorManagement/ExceptionTool.java index 13db940f82b..62e2bc7d000 100644 --- a/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/main/java/org/finos/legend/engine/shared/core/operational/errorManagement/ExceptionTool.java +++ b/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/main/java/org/finos/legend/engine/shared/core/operational/errorManagement/ExceptionTool.java @@ -20,7 +20,6 @@ import io.opentracing.tag.Tags; import io.opentracing.util.GlobalTracer; import org.finos.legend.engine.shared.core.ObjectMapperFactory; -import org.finos.legend.engine.shared.core.identity.Identity; import org.finos.legend.engine.shared.core.operational.logs.LogInfo; import org.finos.legend.engine.shared.core.operational.logs.LoggingEventType; import org.slf4j.Logger; diff --git a/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/test/java/org/finos/legend/engine/shared/core/util/test/TestResourceHelpers.java b/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/test/java/org/finos/legend/engine/shared/core/util/test/TestResourceHelpers.java index dbcbaac6e98..266401945db 100644 --- a/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/test/java/org/finos/legend/engine/shared/core/util/test/TestResourceHelpers.java +++ b/legend-engine-core/legend-engine-core-shared/legend-engine-shared-core/src/test/java/org/finos/legend/engine/shared/core/util/test/TestResourceHelpers.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.shared.core.util.test; -import org.finos.legend.engine.shared.core.util.LimitedByteArrayOutputStream; import org.finos.legend.engine.shared.core.util.ResourceHelpers; import org.junit.Assert; import org.junit.Test; diff --git a/legend-engine-core/legend-engine-core-shared/legend-engine-shared-extensions/src/main/java/org/finos/legend/engine/shared/core/extension/LegendExternalFormatExtension.java b/legend-engine-core/legend-engine-core-shared/legend-engine-shared-extensions/src/main/java/org/finos/legend/engine/shared/core/extension/LegendExternalFormatExtension.java index 8a385096093..bc7f8cbe736 100644 --- a/legend-engine-core/legend-engine-core-shared/legend-engine-shared-extensions/src/main/java/org/finos/legend/engine/shared/core/extension/LegendExternalFormatExtension.java +++ b/legend-engine-core/legend-engine-core-shared/legend-engine-shared-extensions/src/main/java/org/finos/legend/engine/shared/core/extension/LegendExternalFormatExtension.java @@ -14,8 +14,6 @@ package org.finos.legend.engine.shared.core.extension; -import org.eclipse.collections.api.factory.Lists; -import org.eclipse.collections.api.list.MutableList; public interface LegendExternalFormatExtension extends LegendExtension { diff --git a/legend-engine-core/legend-engine-core-shared/legend-engine-shared-extensions/src/main/java/org/finos/legend/engine/shared/core/extension/LegendGenerationExtension.java b/legend-engine-core/legend-engine-core-shared/legend-engine-shared-extensions/src/main/java/org/finos/legend/engine/shared/core/extension/LegendGenerationExtension.java index d7735bb30e3..ce70a02c462 100644 --- a/legend-engine-core/legend-engine-core-shared/legend-engine-shared-extensions/src/main/java/org/finos/legend/engine/shared/core/extension/LegendGenerationExtension.java +++ b/legend-engine-core/legend-engine-core-shared/legend-engine-shared-extensions/src/main/java/org/finos/legend/engine/shared/core/extension/LegendGenerationExtension.java @@ -14,8 +14,6 @@ package org.finos.legend.engine.shared.core.extension; -import org.eclipse.collections.api.factory.Lists; -import org.eclipse.collections.api.list.MutableList; public interface LegendGenerationExtension extends LegendExtension { diff --git a/legend-engine-core/legend-engine-core-testable/legend-engine-test-framework/src/main/java/org/finos/legend/engine/test/shared/framework/PureTestHelperFramework.java b/legend-engine-core/legend-engine-core-testable/legend-engine-test-framework/src/main/java/org/finos/legend/engine/test/shared/framework/PureTestHelperFramework.java index d5b6b7412f5..c1708d4d874 100644 --- a/legend-engine-core/legend-engine-core-testable/legend-engine-test-framework/src/main/java/org/finos/legend/engine/test/shared/framework/PureTestHelperFramework.java +++ b/legend-engine-core/legend-engine-core-testable/legend-engine-test-framework/src/main/java/org/finos/legend/engine/test/shared/framework/PureTestHelperFramework.java @@ -44,11 +44,8 @@ import org.finos.legend.pure.m3.serialization.filesystem.usercodestorage.composite.CompositeCodeStorage; import org.finos.legend.pure.m3.serialization.grammar.Parser; import org.finos.legend.pure.m3.serialization.grammar.m3parser.inlinedsl.InlineDSL; -import org.finos.legend.pure.m3.serialization.runtime.IncrementalCompiler; -import org.finos.legend.pure.m3.serialization.runtime.IncrementalCompiler_New; import org.finos.legend.pure.m3.serialization.runtime.Message; import org.finos.legend.pure.m3.serialization.runtime.ParserService; -import org.finos.legend.pure.m3.serialization.runtime.pattern.URLPatternLibrary; import org.finos.legend.pure.m4.coreinstance.CoreInstance; import org.finos.legend.pure.runtime.java.compiled.compiler.JavaCompilerState; import org.finos.legend.pure.runtime.java.compiled.execution.CompiledExecutionSupport; diff --git a/legend-engine-core/legend-engine-core-testable/legend-engine-test-runner-mapping/src/test/java/org/finos/legend/engine/testable/mapping/extension/TestMappingTestRunner.java b/legend-engine-core/legend-engine-core-testable/legend-engine-test-runner-mapping/src/test/java/org/finos/legend/engine/testable/mapping/extension/TestMappingTestRunner.java index e2d99ac31f8..828158e889f 100644 --- a/legend-engine-core/legend-engine-core-testable/legend-engine-test-runner-mapping/src/test/java/org/finos/legend/engine/testable/mapping/extension/TestMappingTestRunner.java +++ b/legend-engine-core/legend-engine-core-testable/legend-engine-test-runner-mapping/src/test/java/org/finos/legend/engine/testable/mapping/extension/TestMappingTestRunner.java @@ -22,7 +22,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextData; import org.finos.legend.engine.protocol.pure.v1.model.test.assertion.status.AssertionStatus; import org.finos.legend.engine.protocol.pure.v1.model.test.assertion.status.EqualToJsonAssertFail; -import org.finos.legend.engine.protocol.pure.v1.model.test.result.TestError; import org.finos.legend.engine.protocol.pure.v1.model.test.result.TestExecuted; import org.finos.legend.engine.protocol.pure.v1.model.test.result.TestExecutionStatus; import org.finos.legend.engine.protocol.pure.v1.model.test.result.TestResult; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/PureIDELight.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/PureIDELight.java index 699e9beee35..f60bccedbcf 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/PureIDELight.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/PureIDELight.java @@ -17,8 +17,6 @@ import org.eclipse.collections.api.factory.Lists; import org.eclipse.collections.api.list.MutableList; import org.finos.legend.engine.pure.runtime.compiler.interpreted.natives.LegendCompileMixedProcessorSupport; -import org.finos.legend.engine.ide.PureIDEServer; -import org.finos.legend.engine.ide.SourceLocationConfiguration; import org.finos.legend.pure.m3.serialization.filesystem.repository.GenericCodeRepository; import org.finos.legend.pure.m3.serialization.filesystem.usercodestorage.RepositoryCodeStorage; import org.finos.legend.pure.m3.serialization.filesystem.usercodestorage.fs.MutableFSCodeStorage; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/PureIDEServer.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/PureIDEServer.java index 77f2064d6c3..196ad4c4984 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/PureIDEServer.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/PureIDEServer.java @@ -27,8 +27,6 @@ import org.eclipse.collections.api.list.MutableList; import org.eclipse.collections.api.set.MutableSet; import org.eclipse.jetty.servlets.CrossOriginFilter; -import org.finos.legend.engine.ide.ServerConfiguration; -import org.finos.legend.engine.ide.SourceLocationConfiguration; import org.finos.legend.engine.ide.api.*; import org.finos.legend.engine.ide.api.concept.Concept; import org.finos.legend.engine.ide.api.concept.MovePackageableElements; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/ServerConfiguration.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/ServerConfiguration.java index b0521074fe3..b83b949d62c 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/ServerConfiguration.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/ServerConfiguration.java @@ -17,7 +17,6 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import io.dropwizard.Configuration; import io.federecio.dropwizard.swagger.SwaggerBundleConfiguration; -import org.finos.legend.engine.ide.SourceLocationConfiguration; import java.util.List; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/Concept.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/Concept.java index 453e58a6659..a61df113675 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/Concept.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/Concept.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.ide.api.concept; import io.swagger.annotations.Api; -import org.finos.legend.engine.ide.api.concept.GetConcept; import org.finos.legend.engine.ide.session.PureSession; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.ConcreteFunctionDefinition; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.property.QualifiedPropertyInstance; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/MovePackageableElements.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/MovePackageableElements.java index bdce662a9ee..31f4d3a1dfd 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/MovePackageableElements.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/MovePackageableElements.java @@ -22,9 +22,6 @@ import org.eclipse.collections.api.partition.list.PartitionMutableList; import org.eclipse.collections.impl.factory.Multimaps; import org.eclipse.collections.impl.tuple.Tuples; -import org.finos.legend.engine.ide.api.concept.AbstractRenameConceptEntry; -import org.finos.legend.engine.ide.api.concept.RenameConceptUtility; -import org.finos.legend.engine.ide.api.concept.RenamePackageEntry; import org.finos.legend.engine.ide.helpers.response.ExceptionTranslation; import org.finos.legend.engine.ide.session.PureSession; import org.json.simple.JSONValue; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenameConcept.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenameConcept.java index ef4c5e9ca8b..feb819f992a 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenameConcept.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenameConcept.java @@ -19,9 +19,6 @@ import org.eclipse.collections.api.multimap.list.MutableListMultimap; import org.eclipse.collections.impl.factory.Multimaps; import org.eclipse.collections.impl.tuple.Tuples; -import org.finos.legend.engine.ide.api.concept.AbstractRenameConceptEntry; -import org.finos.legend.engine.ide.api.concept.RenameConceptEntry; -import org.finos.legend.engine.ide.api.concept.RenameConceptUtility; import org.finos.legend.engine.ide.helpers.response.ExceptionTranslation; import org.finos.legend.engine.ide.session.PureSession; import org.json.simple.JSONValue; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenameConceptEntry.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenameConceptEntry.java index 243fa8f17ba..1e4f8453d71 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenameConceptEntry.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenameConceptEntry.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.ide.api.concept; -import org.finos.legend.engine.ide.api.concept.AbstractRenameConceptEntry; public class RenameConceptEntry extends AbstractRenameConceptEntry { diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenameConceptUtility.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenameConceptUtility.java index 41ebef6c68e..44d3241614a 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenameConceptUtility.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenameConceptUtility.java @@ -16,7 +16,6 @@ import org.eclipse.collections.api.block.predicate.Predicate; import org.eclipse.collections.api.list.MutableList; -import org.finos.legend.engine.ide.api.concept.AbstractRenameConceptEntry; import java.util.regex.Matcher; import java.util.regex.Pattern; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenamePackageEntry.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenamePackageEntry.java index baf2fd5d56a..1d59961d6a4 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenamePackageEntry.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/concept/RenamePackageEntry.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.ide.api.concept; -import org.finos.legend.engine.ide.api.concept.AbstractRenameConceptEntry; public class RenamePackageEntry extends AbstractRenameConceptEntry { diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/function/manager/HttpServletResponseWriter.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/function/manager/HttpServletResponseWriter.java index 2b87fdf31e9..1d0e8ae5dea 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/function/manager/HttpServletResponseWriter.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/function/manager/HttpServletResponseWriter.java @@ -14,8 +14,6 @@ package org.finos.legend.engine.ide.api.execution.function.manager; -import org.finos.legend.engine.ide.api.execution.function.manager.HttpResponseWriter; - import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.OutputStream; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/function/manager/OutputFormat.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/function/manager/OutputFormat.java index b508aae3372..c29cc38454e 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/function/manager/OutputFormat.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/function/manager/OutputFormat.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.ide.api.execution.function.manager; -import org.finos.legend.engine.ide.api.execution.function.manager.ContentType; enum OutputFormat { diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/go/ExecuteGo.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/go/ExecuteGo.java index a88b21ab5f3..7c299c5ae6f 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/go/ExecuteGo.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/go/ExecuteGo.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.ide.api.execution.go; import io.swagger.annotations.Api; -import org.finos.legend.engine.ide.api.execution.go.GoRun; import org.finos.legend.engine.ide.session.PureSession; import javax.servlet.http.HttpServletRequest; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/test/ExecuteTests.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/test/ExecuteTests.java index 11700cdc2cc..aa4134596cc 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/test/ExecuteTests.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/test/ExecuteTests.java @@ -17,9 +17,6 @@ import io.swagger.annotations.Api; import org.eclipse.collections.api.list.ListIterable; import org.eclipse.collections.api.tuple.primitive.BooleanObjectPair; -import org.finos.legend.engine.ide.api.execution.test.CallBack; -import org.finos.legend.engine.ide.api.execution.test.TestResult; -import org.finos.legend.engine.ide.api.execution.test.TestRun; import org.finos.legend.engine.ide.session.PureSession; import org.finos.legend.pure.m3.execution.test.TestExceptionStatus; import org.finos.legend.pure.m3.execution.test.TestRunner; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/test/TestRun.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/test/TestRun.java index 0c548a601d2..accf2a319a9 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/test/TestRun.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/api/execution/test/TestRun.java @@ -26,7 +26,6 @@ import org.eclipse.collections.impl.block.factory.Predicates; import org.eclipse.collections.impl.utility.ArrayIterate; import org.eclipse.collections.impl.utility.StringIterate; -import org.finos.legend.engine.ide.api.execution.test.TestNode; import org.finos.legend.engine.ide.session.PureSession; import org.finos.legend.engine.ide.session.SimpleFunction; import org.finos.legend.pure.m3.execution.FunctionExecution; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/ExceptionTranslation.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/ExceptionTranslation.java index b24d6042e51..513230b8a30 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/ExceptionTranslation.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/ExceptionTranslation.java @@ -24,12 +24,6 @@ import org.eclipse.collections.api.set.MutableSet; import org.eclipse.collections.api.tuple.Pair; import org.eclipse.collections.impl.tuple.Tuples; -import org.finos.legend.engine.ide.helpers.response.Candidate; -import org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse; -import org.finos.legend.engine.ide.helpers.response.IDEParserOrCompilerException; -import org.finos.legend.engine.ide.helpers.response.IDEPureUnmatchedFunctionExceptionResponse; -import org.finos.legend.engine.ide.helpers.response.IDEPureUnresolvedIdentifierExceptionResponse; -import org.finos.legend.engine.ide.helpers.response.IDEResponse; import org.finos.legend.engine.ide.session.PureSession; import org.finos.legend.pure.m3.exception.PureUnmatchedFunctionException; import org.finos.legend.pure.m3.exception.PureUnresolvedIdentifierException; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEExceptionResponse.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEExceptionResponse.java index caab0b966df..1f7ef75352c 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEExceptionResponse.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEExceptionResponse.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.ide.helpers.response; import org.eclipse.collections.api.map.MutableMap; -import org.finos.legend.engine.ide.helpers.response.IDEResponse; public class IDEExceptionResponse extends IDEResponse { diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEParserOrCompilerException.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEParserOrCompilerException.java index bce9412557c..c8c18c59a98 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEParserOrCompilerException.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEParserOrCompilerException.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.ide.helpers.response; import org.eclipse.collections.api.map.MutableMap; -import org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse; public class IDEParserOrCompilerException extends IDEExceptionResponse { diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEPureUnmatchedFunctionExceptionResponse.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEPureUnmatchedFunctionExceptionResponse.java index 46c995669c9..028b9c61d14 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEPureUnmatchedFunctionExceptionResponse.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEPureUnmatchedFunctionExceptionResponse.java @@ -16,8 +16,6 @@ import org.eclipse.collections.api.list.ListIterable; import org.eclipse.collections.api.map.MutableMap; -import org.finos.legend.engine.ide.helpers.response.Candidate; -import org.finos.legend.engine.ide.helpers.response.IDEPureUnresolvedIdentifierExceptionResponse; import org.json.simple.JSONArray; import org.json.simple.JSONObject; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEPureUnresolvedIdentifierExceptionResponse.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEPureUnresolvedIdentifierExceptionResponse.java index ac95c6202b1..a7fcddeb09e 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEPureUnresolvedIdentifierExceptionResponse.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/helpers/response/IDEPureUnresolvedIdentifierExceptionResponse.java @@ -16,8 +16,6 @@ import org.eclipse.collections.api.list.ListIterable; import org.eclipse.collections.api.map.MutableMap; -import org.finos.legend.engine.ide.helpers.response.Candidate; -import org.finos.legend.engine.ide.helpers.response.IDEExceptionResponse; import org.json.simple.JSONArray; import org.json.simple.JSONObject; diff --git a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/session/SimpleFunction.java b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/session/SimpleFunction.java index 06180a177a1..a1e70a224e7 100644 --- a/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/session/SimpleFunction.java +++ b/legend-engine-pure/legend-engine-pure-ide/legend-engine-pure-ide-light-http-server/src/main/java/org/finos/legend/engine/ide/session/SimpleFunction.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.ide.session; -import org.finos.legend.engine.ide.session.PureSession; import org.json.simple.JSONArray; import org.json.simple.JSONObject; diff --git a/legend-engine-pure/legend-engine-pure-runtime/legend-engine-pure-runtime-planExecution/legend-engine-pure-runtime-java-extension-shared-functions-planExecution/src/test/java/org/finos/legend/engine/pure/runtime/execution/LegendExecuteTest.java b/legend-engine-pure/legend-engine-pure-runtime/legend-engine-pure-runtime-planExecution/legend-engine-pure-runtime-java-extension-shared-functions-planExecution/src/test/java/org/finos/legend/engine/pure/runtime/execution/LegendExecuteTest.java index 7e3a10f65a6..f2757aea11f 100644 --- a/legend-engine-pure/legend-engine-pure-runtime/legend-engine-pure-runtime-planExecution/legend-engine-pure-runtime-java-extension-shared-functions-planExecution/src/test/java/org/finos/legend/engine/pure/runtime/execution/LegendExecuteTest.java +++ b/legend-engine-pure/legend-engine-pure-runtime/legend-engine-pure-runtime-planExecution/legend-engine-pure-runtime-java-extension-shared-functions-planExecution/src/test/java/org/finos/legend/engine/pure/runtime/execution/LegendExecuteTest.java @@ -25,8 +25,6 @@ import org.finos.legend.pure.m3.serialization.filesystem.usercodestorage.classpath.ClassLoaderCodeStorage; import org.finos.legend.pure.m3.serialization.filesystem.usercodestorage.composite.CompositeCodeStorage; import org.finos.legend.pure.m3.serialization.runtime.*; -import org.finos.legend.pure.m3.serialization.runtime.binary.PureRepositoryJarLibrary; -import org.finos.legend.pure.m3.serialization.runtime.binary.SimplePureRepositoryJarLibrary; import org.finos.legend.pure.m3.serialization.runtime.cache.ClassLoaderPureGraphCache; import org.finos.legend.pure.m4.coreinstance.CoreInstance; import org.junit.Assert; diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-quality/legend-engine-xt-analytics-quality-http-api/src/main/java/org/finos/legend/engine/api/analytics/ValidationResult.java b/legend-engine-xts-analytics/legend-engine-xts-analytics-quality/legend-engine-xt-analytics-quality-http-api/src/main/java/org/finos/legend/engine/api/analytics/ValidationResult.java index daf00f4be95..29aee0280b9 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-quality/legend-engine-xt-analytics-quality-http-api/src/main/java/org/finos/legend/engine/api/analytics/ValidationResult.java +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-quality/legend-engine-xt-analytics-quality-http-api/src/main/java/org/finos/legend/engine/api/analytics/ValidationResult.java @@ -14,10 +14,7 @@ package org.finos.legend.engine.api.analytics; -import java.util.ArrayList; -import java.util.HashMap; import java.util.List; -import java.util.Map; public class ValidationResult { diff --git a/legend-engine-xts-analytics/legend-engine-xts-analytics-store/legend-engine-xt-analytics-store-entitlement/src/main/java/org/finos/legend/engine/entitlement/services/EntitlementServiceExtension.java b/legend-engine-xts-analytics/legend-engine-xts-analytics-store/legend-engine-xt-analytics-store-entitlement/src/main/java/org/finos/legend/engine/entitlement/services/EntitlementServiceExtension.java index 8c12eac6262..643bcc1db66 100644 --- a/legend-engine-xts-analytics/legend-engine-xts-analytics-store/legend-engine-xt-analytics-store-entitlement/src/main/java/org/finos/legend/engine/entitlement/services/EntitlementServiceExtension.java +++ b/legend-engine-xts-analytics/legend-engine-xts-analytics-store/legend-engine-xt-analytics-store-entitlement/src/main/java/org/finos/legend/engine/entitlement/services/EntitlementServiceExtension.java @@ -15,15 +15,12 @@ package org.finos.legend.engine.entitlement.services; import org.eclipse.collections.api.block.function.Function0; -import org.eclipse.collections.api.list.MutableList; import org.finos.legend.engine.entitlement.model.entitlementReport.DatasetEntitlementReport; import org.finos.legend.engine.entitlement.model.specification.DatasetSpecification; import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; import org.finos.legend.engine.protocol.pure.v1.extension.ProtocolSubTypeInfo; import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContext; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.Lambda; -import org.finos.legend.engine.shared.core.extension.LegendConnectionExtension; -import org.finos.legend.engine.shared.core.extension.LegendExtension; import org.finos.legend.engine.shared.core.extension.LegendModuleSpecificExtension; import org.finos.legend.engine.shared.core.identity.Identity; import org.finos.legend.pure.generated.Root_meta_core_runtime_Runtime; diff --git a/legend-engine-xts-arrow/legend-engine-xt-arrow-runtime/src/test/java/TestArrowNodeExecutor.java b/legend-engine-xts-arrow/legend-engine-xt-arrow-runtime/src/test/java/TestArrowNodeExecutor.java index 275d74cf854..da2817d53f0 100644 --- a/legend-engine-xts-arrow/legend-engine-xt-arrow-runtime/src/test/java/TestArrowNodeExecutor.java +++ b/legend-engine-xts-arrow/legend-engine-xt-arrow-runtime/src/test/java/TestArrowNodeExecutor.java @@ -12,13 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. -import java.io.FileOutputStream; import java.io.IOException; -import java.util.TimeZone; import org.apache.arrow.memory.BufferAllocator; import org.apache.arrow.memory.RootAllocator; import org.apache.arrow.vector.VectorSchemaRoot; -import org.apache.arrow.vector.ipc.ArrowFileWriter; import org.apache.arrow.vector.ipc.ArrowStreamReader; import org.eclipse.collections.impl.list.mutable.FastList; import org.finos.legend.engine.external.format.arrow.ArrowRuntimeExtension; @@ -34,7 +31,6 @@ import org.finos.legend.engine.shared.core.identity.Identity; import org.finos.legend.engine.shared.core.identity.factory.*; import org.junit.Assert; -import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; diff --git a/legend-engine-xts-authentication/legend-engine-xt-authentication-grammar/src/test/java/org/finos/legend/engine/language/pure/dsl/authentication/grammar/to/demo/HelperAuthenticationDemoComposer.java b/legend-engine-xts-authentication/legend-engine-xt-authentication-grammar/src/test/java/org/finos/legend/engine/language/pure/dsl/authentication/grammar/to/demo/HelperAuthenticationDemoComposer.java index 9292a8674b6..31c95109ecd 100644 --- a/legend-engine-xts-authentication/legend-engine-xt-authentication-grammar/src/test/java/org/finos/legend/engine/language/pure/dsl/authentication/grammar/to/demo/HelperAuthenticationDemoComposer.java +++ b/legend-engine-xts-authentication/legend-engine-xt-authentication-grammar/src/test/java/org/finos/legend/engine/language/pure/dsl/authentication/grammar/to/demo/HelperAuthenticationDemoComposer.java @@ -14,10 +14,8 @@ package org.finos.legend.engine.language.pure.dsl.authentication.grammar.to.demo; -import org.finos.legend.engine.language.pure.dsl.authentication.grammar.to.AuthenticationSpecificationComposer; import org.finos.legend.engine.language.pure.dsl.authentication.grammar.to.IAuthenticationGrammarComposerExtension; import org.finos.legend.engine.language.pure.grammar.to.PureGrammarComposerContext; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.authentication.specification.AuthenticationSpecification; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.authentication.demo.AuthenticationDemo; import static org.finos.legend.engine.language.pure.grammar.to.PureGrammarComposerUtility.convertPath; diff --git a/legend-engine-xts-authentication/legend-engine-xt-authentication-implementation-core/src/test/java/org/finos/legend/authentication/TestCredentialCreation_Kerberos.java b/legend-engine-xts-authentication/legend-engine-xt-authentication-implementation-core/src/test/java/org/finos/legend/authentication/TestCredentialCreation_Kerberos.java index eb0f6262f96..fe5a5ad3c06 100644 --- a/legend-engine-xts-authentication/legend-engine-xt-authentication-implementation-core/src/test/java/org/finos/legend/authentication/TestCredentialCreation_Kerberos.java +++ b/legend-engine-xts-authentication/legend-engine-xt-authentication-implementation-core/src/test/java/org/finos/legend/authentication/TestCredentialCreation_Kerberos.java @@ -15,18 +15,9 @@ package org.finos.legend.authentication; import org.eclipse.collections.api.factory.Sets; -import org.eclipse.collections.impl.list.mutable.FastList; -import org.finos.legend.authentication.credentialprovider.impl.ApikeyCredentialProvider; import org.finos.legend.authentication.credentialprovider.impl.KerberosCredentialProvider; -import org.finos.legend.authentication.intermediationrule.impl.ApiKeyFromVaultRule; -import org.finos.legend.authentication.vault.CredentialVaultProvider; -import org.finos.legend.authentication.vault.impl.CredentialVaultProviderForTest; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.authentication.specification.ApiKeyAuthenticationSpecification; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.authentication.specification.KerberosAuthenticationSpecification; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.authentication.vault.PropertiesFileSecret; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.credential.AnonymousCredential; -import org.finos.legend.engine.shared.core.identity.credential.ApiTokenCredential; import org.finos.legend.engine.shared.core.identity.credential.LegendKerberosCredential; import org.junit.Before; import org.junit.Test; diff --git a/legend-engine-xts-authentication/legend-engine-xt-authentication-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/authentication/specification/KerberosAuthenticationSpecification.java b/legend-engine-xts-authentication/legend-engine-xt-authentication-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/authentication/specification/KerberosAuthenticationSpecification.java index 82ff334e089..41ac8ac3902 100644 --- a/legend-engine-xts-authentication/legend-engine-xt-authentication-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/authentication/specification/KerberosAuthenticationSpecification.java +++ b/legend-engine-xts-authentication/legend-engine-xt-authentication-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/authentication/specification/KerberosAuthenticationSpecification.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.protocol.pure.v1.model.packageableElement.authentication.specification; -import javax.security.auth.Subject; public class KerberosAuthenticationSpecification extends AuthenticationSpecification { diff --git a/legend-engine-xts-data-space/legend-engine-xt-data-space-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/HelperDataSpaceBuilder.java b/legend-engine-xts-data-space/legend-engine-xt-data-space-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/HelperDataSpaceBuilder.java index 0c3558712bd..2e3434928a1 100644 --- a/legend-engine-xts-data-space/legend-engine-xt-data-space-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/HelperDataSpaceBuilder.java +++ b/legend-engine-xts-data-space/legend-engine-xt-data-space-compiler/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/HelperDataSpaceBuilder.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.language.pure.compiler.toPureGraph; -import org.eclipse.collections.api.list.MutableList; import org.eclipse.collections.api.set.MutableSet; import org.eclipse.collections.impl.utility.ListIterate; import org.finos.legend.engine.protocol.pure.v1.model.SourceInformation; diff --git a/legend-engine-xts-diagram/legend-engine-xt-diagram-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestDiagramGrammarParser.java b/legend-engine-xts-diagram/legend-engine-xt-diagram-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestDiagramGrammarParser.java index e4ed5bf1c1f..7bb3542ffbc 100644 --- a/legend-engine-xts-diagram/legend-engine-xt-diagram-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestDiagramGrammarParser.java +++ b/legend-engine-xts-diagram/legend-engine-xt-diagram-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestDiagramGrammarParser.java @@ -17,7 +17,6 @@ import org.antlr.v4.runtime.Vocabulary; import org.eclipse.collections.impl.list.mutable.ListAdapter; import org.finos.legend.engine.language.pure.grammar.from.antlr4.DiagramParserGrammar; -import org.finos.legend.engine.language.pure.grammar.test.TestGrammarParser; import org.junit.Test; import java.util.List; diff --git a/legend-engine-xts-elasticsearch/legend-engine-xt-elasticsearch-V7-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/elasticsearch/v7/plugin/ElasticsearchV7StoreState.java b/legend-engine-xts-elasticsearch/legend-engine-xt-elasticsearch-V7-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/elasticsearch/v7/plugin/ElasticsearchV7StoreState.java index 4b67b8defd3..9db8586b182 100644 --- a/legend-engine-xts-elasticsearch/legend-engine-xt-elasticsearch-V7-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/elasticsearch/v7/plugin/ElasticsearchV7StoreState.java +++ b/legend-engine-xts-elasticsearch/legend-engine-xt-elasticsearch-V7-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/elasticsearch/v7/plugin/ElasticsearchV7StoreState.java @@ -20,7 +20,6 @@ import java.util.concurrent.TimeUnit; import org.apache.http.client.HttpClient; import org.apache.http.client.config.RequestConfig; -import org.apache.http.impl.client.HttpClientBuilder; import org.finos.legend.engine.plan.execution.stores.StoreState; import org.finos.legend.engine.plan.execution.stores.StoreType; import org.finos.legend.engine.plan.execution.stores.elasticsearch.v7.connection.ElasticsearchHttpContextProvider; diff --git a/legend-engine-xts-elasticsearch/legend-engine-xt-elasticsearch-V7-grammar/src/test/java/org/finos/legend/engine/language/stores/elasticsearch/v7/compiler/TestElasticsearchCompiler.java b/legend-engine-xts-elasticsearch/legend-engine-xt-elasticsearch-V7-grammar/src/test/java/org/finos/legend/engine/language/stores/elasticsearch/v7/compiler/TestElasticsearchCompiler.java index 45649bd75ae..8413a0b646b 100644 --- a/legend-engine-xts-elasticsearch/legend-engine-xt-elasticsearch-V7-grammar/src/test/java/org/finos/legend/engine/language/stores/elasticsearch/v7/compiler/TestElasticsearchCompiler.java +++ b/legend-engine-xts-elasticsearch/legend-engine-xt-elasticsearch-V7-grammar/src/test/java/org/finos/legend/engine/language/stores/elasticsearch/v7/compiler/TestElasticsearchCompiler.java @@ -25,9 +25,7 @@ import org.finos.legend.engine.shared.core.ObjectMapperFactory; import org.finos.legend.pure.generated.Root_meta_pure_extension_Extension; import org.finos.legend.pure.generated.core_elasticsearch_seven_metamodel_extensions_store_contract; -import org.finos.legend.pure.generated.core_elasticsearch_seven_metamodel_store_store; import org.finos.legend.pure.generated.core_pure_protocol_vX_X_X_scan_buildBasePureModel; -import org.finos.legend.pure.generated.core_pure_protocol_vX_X_X_transfers_store; import org.finos.legend.pure.m3.coreinstance.meta.pure.store.Store; import org.junit.Assert; import org.junit.Test; diff --git a/legend-engine-xts-elasticsearch/legend-engine-xt-elasticsearch-protocol-utils/src/test/java/org/finos/legend/engine/protocol/store/elasticsearch/specification/utils/TaggedUnionSerializationTest.java b/legend-engine-xts-elasticsearch/legend-engine-xt-elasticsearch-protocol-utils/src/test/java/org/finos/legend/engine/protocol/store/elasticsearch/specification/utils/TaggedUnionSerializationTest.java index ad5564601a1..fd23ca76bce 100644 --- a/legend-engine-xts-elasticsearch/legend-engine-xt-elasticsearch-protocol-utils/src/test/java/org/finos/legend/engine/protocol/store/elasticsearch/specification/utils/TaggedUnionSerializationTest.java +++ b/legend-engine-xts-elasticsearch/legend-engine-xt-elasticsearch-protocol-utils/src/test/java/org/finos/legend/engine/protocol/store/elasticsearch/specification/utils/TaggedUnionSerializationTest.java @@ -23,7 +23,6 @@ import java.util.Objects; import java.util.stream.Stream; import org.junit.Assert; -import org.junit.Ignore; import org.junit.Test; public class TaggedUnionSerializationTest diff --git a/legend-engine-xts-flatdata/legend-engine-xt-flatdata-driver-bloomberg/src/main/java/org/finos/legend/engine/external/format/flatdata/driver/bloomberg/BloombergMetadataReadDriver.java b/legend-engine-xts-flatdata/legend-engine-xt-flatdata-driver-bloomberg/src/main/java/org/finos/legend/engine/external/format/flatdata/driver/bloomberg/BloombergMetadataReadDriver.java index 0e99425c17e..9a55edfad60 100644 --- a/legend-engine-xts-flatdata/legend-engine-xt-flatdata-driver-bloomberg/src/main/java/org/finos/legend/engine/external/format/flatdata/driver/bloomberg/BloombergMetadataReadDriver.java +++ b/legend-engine-xts-flatdata/legend-engine-xt-flatdata-driver-bloomberg/src/main/java/org/finos/legend/engine/external/format/flatdata/driver/bloomberg/BloombergMetadataReadDriver.java @@ -23,7 +23,6 @@ import org.finos.legend.engine.external.format.flatdata.driver.spi.FlatDataReadDriver; import org.finos.legend.engine.external.format.flatdata.driver.spi.ParsedFlatDataToObject; import org.finos.legend.engine.external.format.flatdata.driver.spi.RawFlatData; -import org.finos.legend.engine.external.format.flatdata.metamodel.FlatDataRecordType; import org.finos.legend.engine.external.format.flatdata.metamodel.FlatDataSection; import org.finos.legend.engine.plan.dependencies.domain.dataQuality.BasicChecked; import org.finos.legend.engine.plan.dependencies.domain.dataQuality.IChecked; diff --git a/legend-engine-xts-functionActivator/legend-engine-xt-functionActivator-http-api/src/main/java/org/finos/legend/engine/functionActivator/service/FunctionActivatorService.java b/legend-engine-xts-functionActivator/legend-engine-xt-functionActivator-http-api/src/main/java/org/finos/legend/engine/functionActivator/service/FunctionActivatorService.java index bdc162d0472..c02f62cea0e 100644 --- a/legend-engine-xts-functionActivator/legend-engine-xt-functionActivator-http-api/src/main/java/org/finos/legend/engine/functionActivator/service/FunctionActivatorService.java +++ b/legend-engine-xts-functionActivator/legend-engine-xt-functionActivator-http-api/src/main/java/org/finos/legend/engine/functionActivator/service/FunctionActivatorService.java @@ -16,7 +16,6 @@ import org.eclipse.collections.api.RichIterable; import org.eclipse.collections.api.block.function.Function; -import org.eclipse.collections.api.factory.Lists; import org.eclipse.collections.api.list.MutableList; import org.finos.legend.engine.functionActivator.api.output.FunctionActivatorInfo; import org.finos.legend.engine.protocol.functionActivator.deployment.FunctionActivatorArtifact; diff --git a/legend-engine-xts-functionActivator/legend-engine-xt-functionActivator-protocol/src/main/java/org/finos/legend/engine/protocol/functionActivator/metamodel/Ownership.java b/legend-engine-xts-functionActivator/legend-engine-xt-functionActivator-protocol/src/main/java/org/finos/legend/engine/protocol/functionActivator/metamodel/Ownership.java index ad40eaef1c4..872ec6f73a4 100644 --- a/legend-engine-xts-functionActivator/legend-engine-xt-functionActivator-protocol/src/main/java/org/finos/legend/engine/protocol/functionActivator/metamodel/Ownership.java +++ b/legend-engine-xts-functionActivator/legend-engine-xt-functionActivator-protocol/src/main/java/org/finos/legend/engine/protocol/functionActivator/metamodel/Ownership.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.protocol.functionActivator.metamodel; -import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "_type", defaultImpl = DeploymentOwner.class) diff --git a/legend-engine-xts-generation/legend-engine-language-pure-dsl-generation/src/main/java/org/finos/legend/engine/language/pure/dsl/generation/grammar/from/FileGenerationParseTreeWalker.java b/legend-engine-xts-generation/legend-engine-language-pure-dsl-generation/src/main/java/org/finos/legend/engine/language/pure/dsl/generation/grammar/from/FileGenerationParseTreeWalker.java index a62518ab0b6..f51c0719329 100644 --- a/legend-engine-xts-generation/legend-engine-language-pure-dsl-generation/src/main/java/org/finos/legend/engine/language/pure/dsl/generation/grammar/from/FileGenerationParseTreeWalker.java +++ b/legend-engine-xts-generation/legend-engine-language-pure-dsl-generation/src/main/java/org/finos/legend/engine/language/pure/dsl/generation/grammar/from/FileGenerationParseTreeWalker.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.language.pure.dsl.generation.grammar.from; import org.antlr.v4.runtime.tree.TerminalNode; -import org.eclipse.collections.impl.utility.LazyIterate; import org.eclipse.collections.impl.utility.ListIterate; import org.finos.legend.engine.language.pure.grammar.from.ParseTreeWalkerSourceInformation; import org.finos.legend.engine.language.pure.grammar.from.PureGrammarParserUtility; @@ -28,7 +27,6 @@ import org.finos.legend.engine.shared.core.operational.errorManagement.EngineException; import java.util.ArrayList; -import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Map; diff --git a/legend-engine-xts-generation/legend-engine-language-pure-dsl-generation/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestFileGenerationGrammarParser.java b/legend-engine-xts-generation/legend-engine-language-pure-dsl-generation/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestFileGenerationGrammarParser.java index 65975c67a12..301359068ba 100644 --- a/legend-engine-xts-generation/legend-engine-language-pure-dsl-generation/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestFileGenerationGrammarParser.java +++ b/legend-engine-xts-generation/legend-engine-language-pure-dsl-generation/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestFileGenerationGrammarParser.java @@ -17,7 +17,6 @@ import org.antlr.v4.runtime.Vocabulary; import org.eclipse.collections.impl.list.mutable.ListAdapter; import org.finos.legend.engine.language.pure.grammar.from.antlr4.FileGenerationParserGrammar; -import org.finos.legend.engine.language.pure.grammar.test.TestGrammarParser; import org.junit.Test; import java.util.List; diff --git a/legend-engine-xts-generation/legend-engine-language-pure-dsl-generation/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestGenerationSpecificationGrammarParser.java b/legend-engine-xts-generation/legend-engine-language-pure-dsl-generation/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestGenerationSpecificationGrammarParser.java index 6edcd8f6715..480695d4023 100644 --- a/legend-engine-xts-generation/legend-engine-language-pure-dsl-generation/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestGenerationSpecificationGrammarParser.java +++ b/legend-engine-xts-generation/legend-engine-language-pure-dsl-generation/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestGenerationSpecificationGrammarParser.java @@ -17,7 +17,6 @@ import org.antlr.v4.runtime.Vocabulary; import org.eclipse.collections.impl.list.mutable.ListAdapter; import org.finos.legend.engine.language.pure.grammar.from.antlr4.GenerationSpecificationParserGrammar; -import org.finos.legend.engine.language.pure.grammar.test.TestGrammarParser; import org.junit.Test; import java.util.List; diff --git a/legend-engine-xts-generation/legend-engine-xt-artifact-generation-http-api/src/main/java/org/finos/legend/engine/generation/artifact/api/ArtifactGenerationExtensionApi.java b/legend-engine-xts-generation/legend-engine-xt-artifact-generation-http-api/src/main/java/org/finos/legend/engine/generation/artifact/api/ArtifactGenerationExtensionApi.java index 1a2a96187b9..2ae87c0d476 100644 --- a/legend-engine-xts-generation/legend-engine-xt-artifact-generation-http-api/src/main/java/org/finos/legend/engine/generation/artifact/api/ArtifactGenerationExtensionApi.java +++ b/legend-engine-xts-generation/legend-engine-xt-artifact-generation-http-api/src/main/java/org/finos/legend/engine/generation/artifact/api/ArtifactGenerationExtensionApi.java @@ -22,22 +22,14 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; -import java.util.List; -import java.util.stream.Collectors; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; -import org.eclipse.collections.api.factory.Lists; import org.eclipse.collections.api.list.MutableList; -import org.finos.legend.engine.generation.artifact.ArtifactGenerationFactory; -import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; import org.finos.legend.engine.language.pure.modelManager.ModelManager; -import org.finos.legend.engine.protocol.pure.PureClientVersions; -import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextData; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.PackageableElement; import org.finos.legend.engine.shared.core.ObjectMapperFactory; import org.finos.legend.engine.shared.core.api.result.ManageConstantResult; import org.finos.legend.engine.shared.core.identity.Identity; diff --git a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-grammar/src/test/java/org/finos/legend/engine/language/graphQL/grammar/test/roundtrip/TestGraphQLRoundtrip.java b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-grammar/src/test/java/org/finos/legend/engine/language/graphQL/grammar/test/roundtrip/TestGraphQLRoundtrip.java index 055720b1157..60ddfee8da0 100644 --- a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-grammar/src/test/java/org/finos/legend/engine/language/graphQL/grammar/test/roundtrip/TestGraphQLRoundtrip.java +++ b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-grammar/src/test/java/org/finos/legend/engine/language/graphQL/grammar/test/roundtrip/TestGraphQLRoundtrip.java @@ -19,7 +19,6 @@ import org.finos.legend.engine.language.graphQL.grammar.to.GraphQLGrammarComposer; import org.finos.legend.engine.protocol.graphQL.metamodel.Document; import org.junit.Assert; -import org.junit.Ignore; import org.junit.Test; public class TestGraphQLRoundtrip diff --git a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/main/java/org/finos/legend/engine/query/graphQL/api/GraphQL.java b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/main/java/org/finos/legend/engine/query/graphQL/api/GraphQL.java index 422a47a5df2..e9d1f9e8c9f 100644 --- a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/main/java/org/finos/legend/engine/query/graphQL/api/GraphQL.java +++ b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/main/java/org/finos/legend/engine/query/graphQL/api/GraphQL.java @@ -28,7 +28,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextPointer; import org.finos.legend.engine.protocol.pure.v1.model.context.WorkspaceSDLC; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; public abstract class GraphQL diff --git a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/main/java/org/finos/legend/engine/query/graphQL/api/execute/GraphQLExecute.java b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/main/java/org/finos/legend/engine/query/graphQL/api/execute/GraphQLExecute.java index ed654680082..70864dca7af 100644 --- a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/main/java/org/finos/legend/engine/query/graphQL/api/execute/GraphQLExecute.java +++ b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/main/java/org/finos/legend/engine/query/graphQL/api/execute/GraphQLExecute.java @@ -52,7 +52,6 @@ import org.finos.legend.engine.query.graphQL.api.cache.GraphQLCacheKey; import org.finos.legend.engine.query.graphQL.api.cache.GraphQLDevCacheKey; import org.finos.legend.engine.query.graphQL.api.cache.GraphQLPlanCache; -import org.finos.legend.engine.query.graphQL.api.cache.GraphQLProdCacheKey; import org.finos.legend.engine.query.graphQL.api.cache.GraphQLProdDataspaceCacheKey; import org.finos.legend.engine.query.graphQL.api.cache.GraphQLProdMappingRuntimeCacheKey; import org.finos.legend.engine.query.graphQL.api.execute.directives.IGraphQLDirectiveExtension; diff --git a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/main/java/org/finos/legend/engine/query/graphQL/api/execute/directives/DefaultGraphQLDirectiveExtension.java b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/main/java/org/finos/legend/engine/query/graphQL/api/execute/directives/DefaultGraphQLDirectiveExtension.java index 8b87061abf0..9d2701109b9 100644 --- a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/main/java/org/finos/legend/engine/query/graphQL/api/execute/directives/DefaultGraphQLDirectiveExtension.java +++ b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/main/java/org/finos/legend/engine/query/graphQL/api/execute/directives/DefaultGraphQLDirectiveExtension.java @@ -24,7 +24,6 @@ import org.finos.legend.engine.protocol.graphQL.metamodel.Directive; import org.finos.legend.engine.protocol.graphQL.metamodel.Document; import org.finos.legend.engine.protocol.pure.v1.model.executionPlan.ExecutionPlan; -import org.finos.legend.engine.query.graphQL.api.execute.directives.IGraphQLDirectiveExtension; import org.finos.legend.engine.shared.core.identity.Identity; import org.finos.legend.pure.generated.Root_meta_pure_extension_Extension; import org.finos.legend.pure.generated.Root_meta_core_runtime_Runtime; diff --git a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/test/java/org/finos/legend/engine/query/graphQL/api/execute/TestHelpers.java b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/test/java/org/finos/legend/engine/query/graphQL/api/execute/TestHelpers.java index a2c0a3d931d..dd76ded4490 100644 --- a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/test/java/org/finos/legend/engine/query/graphQL/api/execute/TestHelpers.java +++ b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/test/java/org/finos/legend/engine/query/graphQL/api/execute/TestHelpers.java @@ -26,7 +26,6 @@ import org.junit.Test; import java.util.ArrayList; -import java.util.HashMap; import java.util.List; public class TestHelpers diff --git a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/test/java/org/finos/legend/engine/query/graphQL/api/test/TestGraphQLApiAbstract.java b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/test/java/org/finos/legend/engine/query/graphQL/api/test/TestGraphQLApiAbstract.java index 674b6ace491..70de18408a0 100644 --- a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/test/java/org/finos/legend/engine/query/graphQL/api/test/TestGraphQLApiAbstract.java +++ b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/test/java/org/finos/legend/engine/query/graphQL/api/test/TestGraphQLApiAbstract.java @@ -46,7 +46,6 @@ import org.finos.legend.engine.query.graphQL.api.execute.model.error.GraphQLErrorMain; import org.finos.legend.engine.shared.core.ObjectMapperFactory; import org.finos.legend.engine.shared.core.deployment.DeploymentMode; -import org.finos.legend.engine.shared.core.operational.errorManagement.ExceptionError; import org.finos.legend.engine.shared.core.port.DynamicPortGenerator; import org.junit.AfterClass; import org.junit.BeforeClass; diff --git a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/test/java/org/finos/legend/engine/query/graphQL/api/test/dynamic/filters/operators/TestExistsOperator.java b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/test/java/org/finos/legend/engine/query/graphQL/api/test/dynamic/filters/operators/TestExistsOperator.java index e3704d7c987..de0098c82ef 100644 --- a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/test/java/org/finos/legend/engine/query/graphQL/api/test/dynamic/filters/operators/TestExistsOperator.java +++ b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-http-api/src/test/java/org/finos/legend/engine/query/graphQL/api/test/dynamic/filters/operators/TestExistsOperator.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.query.graphQL.api.test.dynamic.filters.operators; -import org.finos.legend.engine.query.graphQL.api.cache.GraphQLPlanCache; import org.finos.legend.engine.query.graphQL.api.test.dynamic.filters.TestGraphQLDynamicFilters; import org.junit.Test; diff --git a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-pure/src/test/java/org/finos/legend/engine/code/core/GeneratePureModelFromIntrospectionInstance.java b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-pure/src/test/java/org/finos/legend/engine/code/core/GeneratePureModelFromIntrospectionInstance.java index b6e846a8b51..9bba7a7f50b 100644 --- a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-pure/src/test/java/org/finos/legend/engine/code/core/GeneratePureModelFromIntrospectionInstance.java +++ b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-pure/src/test/java/org/finos/legend/engine/code/core/GeneratePureModelFromIntrospectionInstance.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.code.core; import org.eclipse.collections.api.RichIterable; -import org.eclipse.collections.impl.factory.Lists; import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; import org.finos.legend.engine.protocol.graphQL.introspection.model.__Schema; import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextData; diff --git a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-pure/src/test/java/org/finos/legend/engine/code/core/TestTranslator.java b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-pure/src/test/java/org/finos/legend/engine/code/core/TestTranslator.java index 23d8a5cb3bf..f3eacceb606 100644 --- a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-pure/src/test/java/org/finos/legend/engine/code/core/TestTranslator.java +++ b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-pure/src/test/java/org/finos/legend/engine/code/core/TestTranslator.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.code.core; -import org.eclipse.collections.impl.factory.Lists; import org.finos.legend.engine.language.graphQL.grammar.from.GraphQLGrammarParser; import org.finos.legend.engine.language.graphQL.grammar.test.roundtrip.TestGraphQLRoundtrip; import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; diff --git a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-relational-extension/src/test/java/org/finos/legend/engine/query/graphQL/extension/relational/directives/TestTotalCountDirective.java b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-relational-extension/src/test/java/org/finos/legend/engine/query/graphQL/extension/relational/directives/TestTotalCountDirective.java index 879f2e33af0..3b60125a3e7 100644 --- a/legend-engine-xts-graphQL/legend-engine-xt-graphQL-relational-extension/src/test/java/org/finos/legend/engine/query/graphQL/extension/relational/directives/TestTotalCountDirective.java +++ b/legend-engine-xts-graphQL/legend-engine-xt-graphQL-relational-extension/src/test/java/org/finos/legend/engine/query/graphQL/extension/relational/directives/TestTotalCountDirective.java @@ -36,7 +36,6 @@ import org.finos.legend.engine.plan.generation.extension.PlanGeneratorExtension; import org.finos.legend.engine.protocol.Protocol; import org.finos.legend.engine.protocol.graphQL.metamodel.Document; -import org.finos.legend.engine.protocol.pure.PureClientVersions; import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextData; import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextPointer; import org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.ExecutionNode; @@ -51,7 +50,6 @@ import org.finos.legend.engine.query.graphQL.api.execute.model.error.*; import org.finos.legend.engine.shared.core.ObjectMapperFactory; import org.finos.legend.engine.shared.core.deployment.DeploymentMode; -import org.finos.legend.engine.shared.core.operational.errorManagement.ExceptionError; import org.finos.legend.engine.shared.core.port.DynamicPortGenerator; import org.junit.AfterClass; import org.junit.Assert; diff --git a/legend-engine-xts-hostedService/legend-engine-xt-hostedService-api/src/main/java/org/finos/legend/engine/language/hostedService/api/HostedServiceError.java b/legend-engine-xts-hostedService/legend-engine-xt-hostedService-api/src/main/java/org/finos/legend/engine/language/hostedService/api/HostedServiceError.java index f8209317b02..21986196db5 100644 --- a/legend-engine-xts-hostedService/legend-engine-xt-hostedService-api/src/main/java/org/finos/legend/engine/language/hostedService/api/HostedServiceError.java +++ b/legend-engine-xts-hostedService/legend-engine-xt-hostedService-api/src/main/java/org/finos/legend/engine/language/hostedService/api/HostedServiceError.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.language.hostedService.api; -import org.eclipse.collections.api.list.MutableList; import org.finos.legend.engine.functionActivator.service.FunctionActivatorError; public class HostedServiceError extends FunctionActivatorError diff --git a/legend-engine-xts-hostedService/legend-engine-xt-hostedService-compiler/src/main/java/org/finos/legend/engine/language/hostedService/compiler/toPureGraph/HelperHostedServiceBuilder.java b/legend-engine-xts-hostedService/legend-engine-xt-hostedService-compiler/src/main/java/org/finos/legend/engine/language/hostedService/compiler/toPureGraph/HelperHostedServiceBuilder.java index 2b514e2bf0c..9b617db74dd 100644 --- a/legend-engine-xts-hostedService/legend-engine-xt-hostedService-compiler/src/main/java/org/finos/legend/engine/language/hostedService/compiler/toPureGraph/HelperHostedServiceBuilder.java +++ b/legend-engine-xts-hostedService/legend-engine-xt-hostedService-compiler/src/main/java/org/finos/legend/engine/language/hostedService/compiler/toPureGraph/HelperHostedServiceBuilder.java @@ -14,76 +14,25 @@ package org.finos.legend.engine.language.hostedService.compiler.toPureGraph; -import org.apache.commons.lang3.StringUtils; -import org.eclipse.collections.api.RichIterable; import org.eclipse.collections.impl.factory.Lists; import org.eclipse.collections.impl.utility.ListIterate; import org.finos.legend.engine.language.pure.compiler.toPureGraph.CompileContext; -import org.finos.legend.engine.language.pure.compiler.toPureGraph.HelperModelBuilder; import org.finos.legend.engine.language.pure.compiler.toPureGraph.HelperRuntimeBuilder; -import org.finos.legend.engine.language.pure.compiler.toPureGraph.HelperValueSpecificationBuilder; -import org.finos.legend.engine.language.pure.compiler.toPureGraph.ProcessingContext; -import org.finos.legend.engine.language.pure.compiler.toPureGraph.ValueSpecificationBuilder; -import org.finos.legend.engine.language.pure.compiler.toPureGraph.data.EmbeddedDataFirstPassBuilder; import org.finos.legend.engine.language.pure.dsl.service.compiler.toPureGraph.ServiceCompilerExtension; -import org.finos.legend.engine.protocol.pure.v1.model.SourceInformation; -import org.finos.legend.engine.protocol.pure.v1.model.context.EngineErrorType; import org.finos.legend.engine.protocol.pure.v1.model.context.PackageableElementPointer; import org.finos.legend.engine.protocol.pure.v1.model.context.PackageableElementType; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.domain.ParameterValue; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.runtime.EngineRuntime; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.service.ConnectionTestData; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.service.Execution; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.service.ExecutionParameters; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.service.KeyedExecutionParameter; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.service.KeyedSingleExecutionTest; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.service.MultiExecutionParameters; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.service.MultiExecutionTest; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.service.PureMultiExecution; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.service.PureSingleExecution; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.service.ServiceTest_Legacy; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.service.SingleExecutionParameters; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.service.SingleExecutionTest; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.service.TestContainer; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.service.TestData; -import org.finos.legend.engine.shared.core.operational.errorManagement.EngineException; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_ConnectionTestData; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_ConnectionTestData_Impl; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_Execution; import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_ExecutionParameters; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_KeyedExecutionParameter; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_KeyedExecutionParameter_Impl; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_KeyedSingleExecutionTest; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_KeyedSingleExecutionTest_Impl; import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_MultiExecutionParameters_Impl; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_MultiExecutionTest; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_MultiExecutionTest_Impl; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_ParameterValue; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_ParameterValue_Impl; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_PureMultiExecution_Impl; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_PureSingleExecution_Impl; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_ServiceTestData; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_ServiceTestData_Impl; import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_SingleExecutionParameters; import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_SingleExecutionParameters_Impl; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_SingleExecutionTest_Impl; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_Test; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_TestContainer; -import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_TestContainer_Impl; import org.finos.legend.pure.generated.Root_meta_core_runtime_Runtime; -import org.finos.legend.pure.generated.core_service_service_helperFunctions; import org.finos.legend.pure.m3.coreinstance.meta.pure.mapping.Mapping; -import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.function.LambdaFunction; -import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.valuespecification.InstanceValue; -import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.valuespecification.VariableExpression; -import java.util.Collections; -import java.util.HashSet; import java.util.List; -import java.util.Objects; -import java.util.Optional; -import java.util.Set; -import java.util.stream.Collectors; public class HelperHostedServiceBuilder { diff --git a/legend-engine-xts-hostedService/legend-engine-xt-hostedService-generation/src/main/java/org/finos/legend/engine/language/hostedService/generation/HostedServiceArtifactGenerator.java b/legend-engine-xts-hostedService/legend-engine-xt-hostedService-generation/src/main/java/org/finos/legend/engine/language/hostedService/generation/HostedServiceArtifactGenerator.java index b9320578f9d..f6369c4a1f3 100644 --- a/legend-engine-xts-hostedService/legend-engine-xt-hostedService-generation/src/main/java/org/finos/legend/engine/language/hostedService/generation/HostedServiceArtifactGenerator.java +++ b/legend-engine-xts-hostedService/legend-engine-xt-hostedService-generation/src/main/java/org/finos/legend/engine/language/hostedService/generation/HostedServiceArtifactGenerator.java @@ -27,7 +27,6 @@ import org.finos.legend.engine.protocol.hostedService.deployment.model.GenerationInfoData; import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; import org.finos.legend.engine.plan.generation.PlanGenerator; -import org.finos.legend.engine.plan.generation.transformers.LegendPlanTransformers; import org.finos.legend.engine.plan.platform.PlanPlatform; import org.finos.legend.engine.protocol.hostedService.deployment.model.lineage.Lineage; import org.finos.legend.engine.protocol.hostedService.metamodel.HostedService; diff --git a/legend-engine-xts-hostedService/legend-engine-xt-hostedService-protocol/src/main/java/org/finos/legend/engine/protocol/hostedService/deployment/HostedServiceArtifact.java b/legend-engine-xts-hostedService/legend-engine-xt-hostedService-protocol/src/main/java/org/finos/legend/engine/protocol/hostedService/deployment/HostedServiceArtifact.java index ee61c91a580..e8292c06e07 100644 --- a/legend-engine-xts-hostedService/legend-engine-xt-hostedService-protocol/src/main/java/org/finos/legend/engine/protocol/hostedService/deployment/HostedServiceArtifact.java +++ b/legend-engine-xts-hostedService/legend-engine-xt-hostedService-protocol/src/main/java/org/finos/legend/engine/protocol/hostedService/deployment/HostedServiceArtifact.java @@ -18,7 +18,6 @@ import org.finos.legend.engine.protocol.hostedService.deployment.model.GenerationInfo; import org.finos.legend.engine.protocol.pure.v1.model.context.AlloySDLC; import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContext; -import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextData; public class HostedServiceArtifact extends FunctionActivatorArtifact { diff --git a/legend-engine-xts-hostedService/legend-engine-xt-hostedService-protocol/src/main/java/org/finos/legend/engine/protocol/hostedService/deployment/HostedServiceContent.java b/legend-engine-xts-hostedService/legend-engine-xt-hostedService-protocol/src/main/java/org/finos/legend/engine/protocol/hostedService/deployment/HostedServiceContent.java index 1c45ce552cb..8b000dc3423 100644 --- a/legend-engine-xts-hostedService/legend-engine-xt-hostedService-protocol/src/main/java/org/finos/legend/engine/protocol/hostedService/deployment/HostedServiceContent.java +++ b/legend-engine-xts-hostedService/legend-engine-xt-hostedService-protocol/src/main/java/org/finos/legend/engine/protocol/hostedService/deployment/HostedServiceContent.java @@ -17,7 +17,6 @@ import org.finos.legend.engine.protocol.hostedService.deployment.model.GenerationInfo; import org.finos.legend.engine.protocol.functionActivator.deployment.FunctionActivatorDeploymentContent; import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContext; -import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextData; public class HostedServiceContent extends FunctionActivatorDeploymentContent { diff --git a/legend-engine-xts-hostedService/legend-engine-xt-hostedService-protocol/src/main/java/org/finos/legend/engine/protocol/hostedService/metamodel/HostedService.java b/legend-engine-xts-hostedService/legend-engine-xt-hostedService-protocol/src/main/java/org/finos/legend/engine/protocol/hostedService/metamodel/HostedService.java index f8aaea6d82e..5cca0cc862a 100644 --- a/legend-engine-xts-hostedService/legend-engine-xt-hostedService-protocol/src/main/java/org/finos/legend/engine/protocol/hostedService/metamodel/HostedService.java +++ b/legend-engine-xts-hostedService/legend-engine-xt-hostedService-protocol/src/main/java/org/finos/legend/engine/protocol/hostedService/metamodel/HostedService.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.protocol.hostedService.metamodel; import org.finos.legend.engine.protocol.functionActivator.metamodel.FunctionActivator; -import org.finos.legend.engine.protocol.functionActivator.metamodel.Ownership; import org.finos.legend.engine.protocol.pure.v1.model.test.TestSuite; import java.util.List; diff --git a/legend-engine-xts-iceberg/legend-engine-xt-iceberg-test-support/src/main/java/org/finos/legend/tableformat/iceberg/testsupport/IceboxSpark.java b/legend-engine-xts-iceberg/legend-engine-xt-iceberg-test-support/src/main/java/org/finos/legend/tableformat/iceberg/testsupport/IceboxSpark.java index be1ba82a101..d4d353285ff 100644 --- a/legend-engine-xts-iceberg/legend-engine-xt-iceberg-test-support/src/main/java/org/finos/legend/tableformat/iceberg/testsupport/IceboxSpark.java +++ b/legend-engine-xts-iceberg/legend-engine-xt-iceberg-test-support/src/main/java/org/finos/legend/tableformat/iceberg/testsupport/IceboxSpark.java @@ -31,7 +31,6 @@ import org.testcontainers.containers.GenericContainer; import org.testcontainers.containers.Network; import org.testcontainers.utility.MountableFile; -import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider; public class IceboxSpark extends FailureDetectingExternalResource implements AutoCloseable { diff --git a/legend-engine-xts-memsqlFunction/legend-engine-xt-memsqlFunction-api/src/main/java/org/finos/legend/engine/language/memsql/deployment/MemSqlFunctionDeploymentManager.java b/legend-engine-xts-memsqlFunction/legend-engine-xt-memsqlFunction-api/src/main/java/org/finos/legend/engine/language/memsql/deployment/MemSqlFunctionDeploymentManager.java index fe660d574e3..e144aa4c698 100644 --- a/legend-engine-xts-memsqlFunction/legend-engine-xt-memsqlFunction-api/src/main/java/org/finos/legend/engine/language/memsql/deployment/MemSqlFunctionDeploymentManager.java +++ b/legend-engine-xts-memsqlFunction/legend-engine-xt-memsqlFunction-api/src/main/java/org/finos/legend/engine/language/memsql/deployment/MemSqlFunctionDeploymentManager.java @@ -34,7 +34,6 @@ import org.slf4j.LoggerFactory; import java.sql.Connection; -import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; import java.util.List; diff --git a/legend-engine-xts-memsqlFunction/legend-engine-xt-memsqlFunction-api/src/main/java/org/finos/legend/engine/language/memsql/deployment/MemSqlFunctionGenerator.java b/legend-engine-xts-memsqlFunction/legend-engine-xt-memsqlFunction-api/src/main/java/org/finos/legend/engine/language/memsql/deployment/MemSqlFunctionGenerator.java index 7464c29425e..11ab8828695 100644 --- a/legend-engine-xts-memsqlFunction/legend-engine-xt-memsqlFunction-api/src/main/java/org/finos/legend/engine/language/memsql/deployment/MemSqlFunctionGenerator.java +++ b/legend-engine-xts-memsqlFunction/legend-engine-xt-memsqlFunction-api/src/main/java/org/finos/legend/engine/language/memsql/deployment/MemSqlFunctionGenerator.java @@ -23,13 +23,10 @@ import org.finos.legend.engine.plan.generation.PlanGenerator; import org.finos.legend.engine.plan.platform.PlanPlatform; import org.finos.legend.engine.protocol.memsqlFunction.deployment.MemSqlFunctionArtifact; -import org.finos.legend.engine.protocol.memsqlFunction.deployment.MemSqlFunctionContent; import org.finos.legend.engine.protocol.memsqlFunction.deployment.MemSqlFunctionDeploymentConfiguration; import org.finos.legend.engine.protocol.memsqlFunction.metamodel.MemSqlFunction; -import org.finos.legend.engine.protocol.pure.v1.model.context.AlloySDLC; import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContext; import org.finos.legend.engine.protocol.pure.v1.model.context.PureModelContextData; -import org.finos.legend.engine.protocol.pure.v1.model.context.SDLC; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.connection.PackageableConnection; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.RelationalDatabaseConnection; import org.finos.legend.pure.generated.*; diff --git a/legend-engine-xts-memsqlFunction/legend-engine-xt-memsqlFunction-protocol/src/main/java/org/finos/legend/engine/protocol/memsqlFunction/metamodel/MemSqlFunctionProtocolExtension.java b/legend-engine-xts-memsqlFunction/legend-engine-xt-memsqlFunction-protocol/src/main/java/org/finos/legend/engine/protocol/memsqlFunction/metamodel/MemSqlFunctionProtocolExtension.java index 0a826cd63d0..a1ebced60fe 100644 --- a/legend-engine-xts-memsqlFunction/legend-engine-xt-memsqlFunction-protocol/src/main/java/org/finos/legend/engine/protocol/memsqlFunction/metamodel/MemSqlFunctionProtocolExtension.java +++ b/legend-engine-xts-memsqlFunction/legend-engine-xt-memsqlFunction-protocol/src/main/java/org/finos/legend/engine/protocol/memsqlFunction/metamodel/MemSqlFunctionProtocolExtension.java @@ -25,7 +25,6 @@ import org.finos.legend.engine.protocol.pure.v1.extension.ProtocolSubTypeInfo; import org.finos.legend.engine.protocol.pure.v1.extension.PureProtocolExtension; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.PackageableElement; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.DatasourceSpecification; import java.util.List; import java.util.Map; diff --git a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/mongodb/plugin/MongoDBExecutionNodeExecutor.java b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/mongodb/plugin/MongoDBExecutionNodeExecutor.java index 92f42166419..fd7cab430c0 100644 --- a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/mongodb/plugin/MongoDBExecutionNodeExecutor.java +++ b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/mongodb/plugin/MongoDBExecutionNodeExecutor.java @@ -17,7 +17,6 @@ import com.fasterxml.jackson.databind.ObjectMapper; import io.opentracing.Scope; import io.opentracing.util.GlobalTracer; -import org.finos.legend.authentication.credentialprovider.CredentialBuilder; import org.finos.legend.authentication.credentialprovider.CredentialProviderProvider; import org.finos.legend.engine.external.shared.utils.ExternalFormatRuntime; import org.finos.legend.engine.language.pure.grammar.to.MongoDBQueryJsonComposer; @@ -26,7 +25,6 @@ import org.finos.legend.engine.plan.dependencies.domain.dataQuality.EnforcementLevel; import org.finos.legend.engine.plan.dependencies.domain.dataQuality.IChecked; import org.finos.legend.engine.plan.dependencies.domain.dataQuality.IDefect; -import org.finos.legend.engine.plan.execution.nodes.ExecutionNodeExecutor; import org.finos.legend.engine.plan.execution.nodes.helpers.freemarker.FreeMarkerExecutor; import org.finos.legend.engine.plan.execution.nodes.helpers.platform.ExecutionNodeJavaPlatformHelper; import org.finos.legend.engine.plan.execution.nodes.helpers.platform.JavaHelper; diff --git a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/mongodb/plugin/MongoDBStoreExecutorBuilder.java b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/mongodb/plugin/MongoDBStoreExecutorBuilder.java index 1dce42da9f3..792446fffdf 100644 --- a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/mongodb/plugin/MongoDBStoreExecutorBuilder.java +++ b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/mongodb/plugin/MongoDBStoreExecutorBuilder.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.plan.execution.stores.mongodb.plugin; import org.eclipse.collections.api.list.MutableList; -import org.finos.legend.engine.plan.execution.stores.StoreExecutor; import org.finos.legend.engine.plan.execution.stores.StoreExecutorBuilder; import org.finos.legend.engine.plan.execution.stores.StoreExecutorConfiguration; import org.finos.legend.engine.plan.execution.stores.StoreType; diff --git a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar-integration/src/main/java/org/finos/legend/engine/language/pure/grammar/integration/mapping/MongoDBMappingParseTreeWalker.java b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar-integration/src/main/java/org/finos/legend/engine/language/pure/grammar/integration/mapping/MongoDBMappingParseTreeWalker.java index db9ef49ffdc..390f8829c05 100644 --- a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar-integration/src/main/java/org/finos/legend/engine/language/pure/grammar/integration/mapping/MongoDBMappingParseTreeWalker.java +++ b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar-integration/src/main/java/org/finos/legend/engine/language/pure/grammar/integration/mapping/MongoDBMappingParseTreeWalker.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.language.pure.grammar.integration.mapping; import org.finos.legend.engine.language.pure.grammar.from.antlr4.mapping.MongoDBMappingParserGrammar; -import org.finos.legend.engine.protocol.mongodb.schema.metamodel.Collection; import org.finos.legend.engine.protocol.mongodb.schema.metamodel.pure.RootMongoDBClassMapping; public class MongoDBMappingParseTreeWalker diff --git a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar-integration/src/test/java/org/finos/legend/engine/language/pure/grammar/integration/TestMongoDBConnectionGrammarParser.java b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar-integration/src/test/java/org/finos/legend/engine/language/pure/grammar/integration/TestMongoDBConnectionGrammarParser.java index e02bd27b11d..ea1c9fb843b 100644 --- a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar-integration/src/test/java/org/finos/legend/engine/language/pure/grammar/integration/TestMongoDBConnectionGrammarParser.java +++ b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar-integration/src/test/java/org/finos/legend/engine/language/pure/grammar/integration/TestMongoDBConnectionGrammarParser.java @@ -17,7 +17,6 @@ import org.antlr.v4.runtime.Vocabulary; import org.eclipse.collections.impl.list.mutable.ListAdapter; import org.finos.legend.engine.language.pure.grammar.from.antlr4.connection.MongoDBConnectionParserGrammar; -import org.finos.legend.engine.language.pure.grammar.from.antlr4.schema.MongoDBSchemaParserGrammar; import org.finos.legend.engine.language.pure.grammar.test.TestGrammarParser; import java.util.List; diff --git a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/to/MongoDBSchemaJsonComposer.java b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/to/MongoDBSchemaJsonComposer.java index 4093f8b7ebd..a1c379ff223 100644 --- a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/to/MongoDBSchemaJsonComposer.java +++ b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/to/MongoDBSchemaJsonComposer.java @@ -22,7 +22,6 @@ import java.util.List; import java.util.stream.Collectors; -import static org.finos.legend.engine.language.pure.grammar.to.ComposerUtility.appendTabString; public class MongoDBSchemaJsonComposer { diff --git a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/to/visitors/BaseTypeVisitorImpl.java b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/to/visitors/BaseTypeVisitorImpl.java index 68f7f36b112..b60e8e460cb 100644 --- a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/to/visitors/BaseTypeVisitorImpl.java +++ b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/to/visitors/BaseTypeVisitorImpl.java @@ -41,8 +41,6 @@ import java.util.stream.Collectors; -import static org.finos.legend.engine.language.pure.grammar.to.ComposerUtility.appendTabString; -import static org.finos.legend.engine.language.pure.grammar.to.ComposerUtility.getTabString; public class BaseTypeVisitorImpl implements BaseTypeVisitor { diff --git a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-protocol/src/main/java/org/finos/legend/engine/protocol/mongodb/schema/metamodel/pure/MongoDBExecutionNode.java b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-protocol/src/main/java/org/finos/legend/engine/protocol/mongodb/schema/metamodel/pure/MongoDBExecutionNode.java index e6e6c598211..94700524e62 100644 --- a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-protocol/src/main/java/org/finos/legend/engine/protocol/mongodb/schema/metamodel/pure/MongoDBExecutionNode.java +++ b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-protocol/src/main/java/org/finos/legend/engine/protocol/mongodb/schema/metamodel/pure/MongoDBExecutionNode.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.protocol.mongodb.schema.metamodel.pure; -import org.finos.legend.engine.protocol.mongodb.schema.metamodel.aggregation.DatabaseCommand; import org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.ExecutionNode; import org.finos.legend.engine.protocol.pure.v1.model.executionPlan.nodes.ExecutionNodeVisitor; diff --git a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-protocol/src/main/java/org/finos/legend/engine/protocol/mongodb/schema/metamodel/pure/RootMongoDBClassMapping.java b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-protocol/src/main/java/org/finos/legend/engine/protocol/mongodb/schema/metamodel/pure/RootMongoDBClassMapping.java index 4deee07ab6a..31a0b42f2da 100644 --- a/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-protocol/src/main/java/org/finos/legend/engine/protocol/mongodb/schema/metamodel/pure/RootMongoDBClassMapping.java +++ b/legend-engine-xts-mongodb/legend-engine-xt-nonrelationalStore-mongodb-protocol/src/main/java/org/finos/legend/engine/protocol/mongodb/schema/metamodel/pure/RootMongoDBClassMapping.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.protocol.mongodb.schema.metamodel.pure; -import org.finos.legend.engine.protocol.mongodb.schema.metamodel.Collection; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.mapping.ClassMapping; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.mapping.ClassMappingVisitor; diff --git a/legend-engine-xts-morphir/legend-engine-xt-morphir/src/main/java/org/finos/legend/engine/external/language/morphir/model/MorphirGenerationConfig.java b/legend-engine-xts-morphir/legend-engine-xt-morphir/src/main/java/org/finos/legend/engine/external/language/morphir/model/MorphirGenerationConfig.java index 4b1c5a4554a..38f73c0c5b3 100644 --- a/legend-engine-xts-morphir/legend-engine-xt-morphir/src/main/java/org/finos/legend/engine/external/language/morphir/model/MorphirGenerationConfig.java +++ b/legend-engine-xts-morphir/legend-engine-xt-morphir/src/main/java/org/finos/legend/engine/external/language/morphir/model/MorphirGenerationConfig.java @@ -20,7 +20,6 @@ import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; import org.finos.legend.pure.generated.Root_meta_external_language_morphir_generation_MorphirConfig; import org.finos.legend.pure.generated.core_external_language_morphir_transformation_integration; -import org.finos.legend.pure.generated.core_pure_corefunctions_metaExtension; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.PackageableElement; import java.util.Collections; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-logical-plan/src/main/java/org/finos/legend/engine/persistence/components/ingestmode/UnitemporalDeltaAbstract.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-logical-plan/src/main/java/org/finos/legend/engine/persistence/components/ingestmode/UnitemporalDeltaAbstract.java index c363a0dbcc7..fd93dc83331 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-logical-plan/src/main/java/org/finos/legend/engine/persistence/components/ingestmode/UnitemporalDeltaAbstract.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-logical-plan/src/main/java/org/finos/legend/engine/persistence/components/ingestmode/UnitemporalDeltaAbstract.java @@ -26,7 +26,6 @@ import org.immutables.value.Value; import java.util.List; -import java.util.Optional; import static org.immutables.value.Value.Default; import static org.immutables.value.Value.Immutable; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-logical-plan/src/main/java/org/finos/legend/engine/persistence/components/planner/BitemporalSnapshotPlanner.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-logical-plan/src/main/java/org/finos/legend/engine/persistence/components/planner/BitemporalSnapshotPlanner.java index f032983ba00..dfe1a420786 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-logical-plan/src/main/java/org/finos/legend/engine/persistence/components/planner/BitemporalSnapshotPlanner.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-logical-plan/src/main/java/org/finos/legend/engine/persistence/components/planner/BitemporalSnapshotPlanner.java @@ -26,7 +26,6 @@ import org.finos.legend.engine.persistence.components.logicalplan.datasets.Dataset; import org.finos.legend.engine.persistence.components.logicalplan.datasets.Field; import org.finos.legend.engine.persistence.components.logicalplan.datasets.Selection; -import org.finos.legend.engine.persistence.components.logicalplan.operations.Create; import org.finos.legend.engine.persistence.components.logicalplan.operations.Insert; import org.finos.legend.engine.persistence.components.logicalplan.operations.Operation; import org.finos.legend.engine.persistence.components.logicalplan.operations.Update; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-logical-plan/src/main/java/org/finos/legend/engine/persistence/components/planner/UnitemporalSnapshotPlanner.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-logical-plan/src/main/java/org/finos/legend/engine/persistence/components/planner/UnitemporalSnapshotPlanner.java index e0cbd780cd0..2a1a6d22c37 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-logical-plan/src/main/java/org/finos/legend/engine/persistence/components/planner/UnitemporalSnapshotPlanner.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-logical-plan/src/main/java/org/finos/legend/engine/persistence/components/planner/UnitemporalSnapshotPlanner.java @@ -30,7 +30,6 @@ import org.finos.legend.engine.persistence.components.logicalplan.datasets.Dataset; import org.finos.legend.engine.persistence.components.logicalplan.datasets.Field; import org.finos.legend.engine.persistence.components.logicalplan.datasets.Selection; -import org.finos.legend.engine.persistence.components.logicalplan.operations.Create; import org.finos.legend.engine.persistence.components.logicalplan.operations.Insert; import org.finos.legend.engine.persistence.components.logicalplan.operations.Operation; import org.finos.legend.engine.persistence.components.logicalplan.operations.Update; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/AnsiDatatypeMapping.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/AnsiDatatypeMapping.java index aee8f748999..9dbfb8b0253 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/AnsiDatatypeMapping.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/AnsiDatatypeMapping.java @@ -26,7 +26,6 @@ import org.finos.legend.engine.persistence.components.relational.sqldom.schema.DateTime; import org.finos.legend.engine.persistence.components.relational.sqldom.schema.Decimal; import org.finos.legend.engine.persistence.components.relational.sqldom.schema.Double; -import org.finos.legend.engine.persistence.components.relational.sqldom.schema.Int64; import org.finos.legend.engine.persistence.components.relational.sqldom.schema.Integer; import org.finos.legend.engine.persistence.components.relational.sqldom.schema.LongText; import org.finos.legend.engine.persistence.components.relational.sqldom.schema.Numeric; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/NumericalValueVisitor.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/NumericalValueVisitor.java index ec43597a9ba..a1fb1571685 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/NumericalValueVisitor.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/NumericalValueVisitor.java @@ -16,7 +16,6 @@ import org.finos.legend.engine.persistence.components.optimizer.Optimizer; import org.finos.legend.engine.persistence.components.physicalplan.PhysicalPlanNode; -import org.finos.legend.engine.persistence.components.relational.sqldom.schemaops.Column; import org.finos.legend.engine.persistence.components.relational.sqldom.schemaops.values.NumericalValue; import org.finos.legend.engine.persistence.components.transformer.LogicalPlanVisitor; import org.finos.legend.engine.persistence.components.transformer.VisitorContext; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/ObjectValueVisitor.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/ObjectValueVisitor.java index 65d27d40beb..d86e773619c 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/ObjectValueVisitor.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/ObjectValueVisitor.java @@ -16,7 +16,6 @@ import org.finos.legend.engine.persistence.components.optimizer.Optimizer; import org.finos.legend.engine.persistence.components.physicalplan.PhysicalPlanNode; -import org.finos.legend.engine.persistence.components.relational.sqldom.schemaops.values.NumericalValue; import org.finos.legend.engine.persistence.components.relational.sqldom.schemaops.values.ObjectValue; import org.finos.legend.engine.persistence.components.transformer.LogicalPlanVisitor; import org.finos.legend.engine.persistence.components.transformer.VisitorContext; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/SelectValueVisitor.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/SelectValueVisitor.java index 7b7b8c5aa89..b4defb813b1 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/SelectValueVisitor.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/SelectValueVisitor.java @@ -17,7 +17,6 @@ import org.finos.legend.engine.persistence.components.logicalplan.values.SelectValue; import org.finos.legend.engine.persistence.components.optimizer.Optimizer; import org.finos.legend.engine.persistence.components.physicalplan.PhysicalPlanNode; -import org.finos.legend.engine.persistence.components.relational.sqldom.schemaops.Column; import org.finos.legend.engine.persistence.components.transformer.LogicalPlanVisitor; import org.finos.legend.engine.persistence.components.transformer.VisitorContext; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/StringValueVisitor.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/StringValueVisitor.java index f4118d5c7ec..352a4eb40ea 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/StringValueVisitor.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/main/java/org/finos/legend/engine/persistence/components/relational/ansi/sql/visitors/StringValueVisitor.java @@ -17,7 +17,6 @@ import org.finos.legend.engine.persistence.components.logicalplan.values.StringValue; import org.finos.legend.engine.persistence.components.optimizer.Optimizer; import org.finos.legend.engine.persistence.components.physicalplan.PhysicalPlanNode; -import org.finos.legend.engine.persistence.components.relational.sqldom.schemaops.values.NumericalValue; import org.finos.legend.engine.persistence.components.transformer.LogicalPlanVisitor; import org.finos.legend.engine.persistence.components.transformer.VisitorContext; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/test/java/org/finos/legend/engine/persistence/components/RelationalSinkCleanerTest.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/test/java/org/finos/legend/engine/persistence/components/RelationalSinkCleanerTest.java index 63ec4ec4562..dbb053bca84 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/test/java/org/finos/legend/engine/persistence/components/RelationalSinkCleanerTest.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-ansi/src/test/java/org/finos/legend/engine/persistence/components/RelationalSinkCleanerTest.java @@ -25,7 +25,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -import java.util.List; public class RelationalSinkCleanerTest extends IngestModeTest { diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-bigquery/src/main/java/org/finos/legend/engine/persistence/components/relational/bigquery/sql/visitor/DeleteVisitor.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-bigquery/src/main/java/org/finos/legend/engine/persistence/components/relational/bigquery/sql/visitor/DeleteVisitor.java index d0cdbfb593d..41e3b1399c4 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-bigquery/src/main/java/org/finos/legend/engine/persistence/components/relational/bigquery/sql/visitor/DeleteVisitor.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-bigquery/src/main/java/org/finos/legend/engine/persistence/components/relational/bigquery/sql/visitor/DeleteVisitor.java @@ -26,7 +26,6 @@ import java.util.ArrayList; import java.util.List; -import java.util.Optional; public class DeleteVisitor implements LogicalPlanVisitor { diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-bigquery/src/main/java/org/finos/legend/engine/persistence/components/relational/bigquery/sqldom/schemaops/expressions/table/StagedFilesTable.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-bigquery/src/main/java/org/finos/legend/engine/persistence/components/relational/bigquery/sqldom/schemaops/expressions/table/StagedFilesTable.java index a00ee810f62..36178890a11 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-bigquery/src/main/java/org/finos/legend/engine/persistence/components/relational/bigquery/sqldom/schemaops/expressions/table/StagedFilesTable.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-bigquery/src/main/java/org/finos/legend/engine/persistence/components/relational/bigquery/sqldom/schemaops/expressions/table/StagedFilesTable.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.persistence.components.relational.bigquery.sqldom.schemaops.expressions.table; import org.finos.legend.engine.persistence.components.relational.sqldom.SqlDomException; -import org.finos.legend.engine.persistence.components.relational.sqldom.common.Clause; import org.finos.legend.engine.persistence.components.relational.sqldom.schemaops.expresssions.table.TableLike; import org.finos.legend.engine.persistence.components.relational.sqldom.utils.SqlGenUtils; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-core/src/main/java/org/finos/legend/engine/persistence/components/relational/RelationalSink.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-core/src/main/java/org/finos/legend/engine/persistence/components/relational/RelationalSink.java index 17e1332f023..930e859ec57 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-core/src/main/java/org/finos/legend/engine/persistence/components/relational/RelationalSink.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-core/src/main/java/org/finos/legend/engine/persistence/components/relational/RelationalSink.java @@ -39,7 +39,6 @@ import org.finos.legend.engine.persistence.components.util.ValidationCategory; import java.util.*; -import java.util.stream.Collectors; public abstract class RelationalSink implements Sink { diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-core/src/main/java/org/finos/legend/engine/persistence/components/relational/api/SchemaEvolutionResultAbstract.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-core/src/main/java/org/finos/legend/engine/persistence/components/relational/api/SchemaEvolutionResultAbstract.java index 8a4ee34624e..f203db746b6 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-core/src/main/java/org/finos/legend/engine/persistence/components/relational/api/SchemaEvolutionResultAbstract.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-core/src/main/java/org/finos/legend/engine/persistence/components/relational/api/SchemaEvolutionResultAbstract.java @@ -18,7 +18,6 @@ import org.immutables.value.Value; import java.util.List; -import java.util.Optional; @Value.Immutable @Value.Style( diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-h2/src/test/java/org/finos/legend/engine/persistence/components/ingestmode/unitemporal/UnitemporalDeltaWithBatchIdTest.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-h2/src/test/java/org/finos/legend/engine/persistence/components/ingestmode/unitemporal/UnitemporalDeltaWithBatchIdTest.java index 4cfbd6efbc8..a5918d5ebda 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-h2/src/test/java/org/finos/legend/engine/persistence/components/ingestmode/unitemporal/UnitemporalDeltaWithBatchIdTest.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-h2/src/test/java/org/finos/legend/engine/persistence/components/ingestmode/unitemporal/UnitemporalDeltaWithBatchIdTest.java @@ -19,10 +19,7 @@ import org.finos.legend.engine.persistence.components.common.DatasetFilter; import org.finos.legend.engine.persistence.components.common.Datasets; import org.finos.legend.engine.persistence.components.common.FilterType; -import org.finos.legend.engine.persistence.components.common.StatisticName; -import org.finos.legend.engine.persistence.components.ingestmode.NontemporalDelta; import org.finos.legend.engine.persistence.components.ingestmode.UnitemporalDelta; -import org.finos.legend.engine.persistence.components.ingestmode.audit.NoAuditing; import org.finos.legend.engine.persistence.components.ingestmode.deduplication.FailOnDuplicates; import org.finos.legend.engine.persistence.components.ingestmode.deduplication.FilterDuplicates; import org.finos.legend.engine.persistence.components.ingestmode.merge.DeleteIndicatorMergeStrategy; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-memsql/src/main/java/org/finos/legend/engine/persistence/components/relational/memsql/optimizer/UpperCaseOptimizer.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-memsql/src/main/java/org/finos/legend/engine/persistence/components/relational/memsql/optimizer/UpperCaseOptimizer.java index 453315eb88c..6662235feba 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-memsql/src/main/java/org/finos/legend/engine/persistence/components/relational/memsql/optimizer/UpperCaseOptimizer.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-memsql/src/main/java/org/finos/legend/engine/persistence/components/relational/memsql/optimizer/UpperCaseOptimizer.java @@ -14,12 +14,7 @@ package org.finos.legend.engine.persistence.components.relational.memsql.optimizer; -import org.finos.legend.engine.persistence.components.physicalplan.PhysicalPlanNode; -import org.finos.legend.engine.persistence.components.relational.memsql.sqldom.schemaops.statements.AlterTable; -import org.finos.legend.engine.persistence.components.relational.memsql.sqldom.schemaops.statements.ShowCommand; -import org.finos.legend.engine.persistence.components.relational.sqldom.schemaops.expresssions.table.Table; -import java.util.function.Function; public class UpperCaseOptimizer extends StringCaseOptimizer { diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-memsql/src/test/java/org/finos/legend/engine/persistence/components/ingestmode/UnitemporalDeltaDateTimeBasedTest.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-memsql/src/test/java/org/finos/legend/engine/persistence/components/ingestmode/UnitemporalDeltaDateTimeBasedTest.java index 87dbd91b175..8f19fc364b4 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-memsql/src/test/java/org/finos/legend/engine/persistence/components/ingestmode/UnitemporalDeltaDateTimeBasedTest.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-memsql/src/test/java/org/finos/legend/engine/persistence/components/ingestmode/UnitemporalDeltaDateTimeBasedTest.java @@ -21,7 +21,6 @@ import org.finos.legend.engine.persistence.components.testcases.ingestmode.unitemporal.UnitmemporalDeltaDateTimeBasedTestCases; import org.junit.jupiter.api.Assertions; -import java.util.ArrayList; import java.util.List; public class UnitemporalDeltaDateTimeBasedTest extends UnitmemporalDeltaDateTimeBasedTestCases diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-snowflake/src/main/java/org/finos/legend/engine/persistence/components/relational/snowflake/sql/visitor/StagedFilesDatasetReferenceVisitor.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-snowflake/src/main/java/org/finos/legend/engine/persistence/components/relational/snowflake/sql/visitor/StagedFilesDatasetReferenceVisitor.java index 286d60ae4af..3e1992221ae 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-snowflake/src/main/java/org/finos/legend/engine/persistence/components/relational/snowflake/sql/visitor/StagedFilesDatasetReferenceVisitor.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-snowflake/src/main/java/org/finos/legend/engine/persistence/components/relational/snowflake/sql/visitor/StagedFilesDatasetReferenceVisitor.java @@ -21,7 +21,6 @@ import org.finos.legend.engine.persistence.components.transformer.LogicalPlanVisitor; import org.finos.legend.engine.persistence.components.transformer.VisitorContext; -import java.util.stream.Collectors; public class StagedFilesDatasetReferenceVisitor implements LogicalPlanVisitor { diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-snowflake/src/test/java/org/finos/legend/engine/persistence/components/ingestmode/IngestModeTest.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-snowflake/src/test/java/org/finos/legend/engine/persistence/components/ingestmode/IngestModeTest.java index 2b0010d6365..fa8c027445e 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-snowflake/src/test/java/org/finos/legend/engine/persistence/components/ingestmode/IngestModeTest.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-snowflake/src/test/java/org/finos/legend/engine/persistence/components/ingestmode/IngestModeTest.java @@ -25,7 +25,6 @@ import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; -import java.util.List; import java.util.Optional; import java.util.Set; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-test/src/test/java/org/finos/legend/engine/persistence/components/testcases/ingestmode/unitemporal/UnitmemporalSnapshotBatchIdBasedTestCases.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-test/src/test/java/org/finos/legend/engine/persistence/components/testcases/ingestmode/unitemporal/UnitmemporalSnapshotBatchIdBasedTestCases.java index c5b3e4c4551..0ab8679ad4e 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-test/src/test/java/org/finos/legend/engine/persistence/components/testcases/ingestmode/unitemporal/UnitmemporalSnapshotBatchIdBasedTestCases.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-component/legend-engine-xt-persistence-component-relational-test/src/test/java/org/finos/legend/engine/persistence/components/testcases/ingestmode/unitemporal/UnitmemporalSnapshotBatchIdBasedTestCases.java @@ -16,9 +16,7 @@ import org.finos.legend.engine.persistence.components.BaseTest; import org.finos.legend.engine.persistence.components.common.Datasets; -import org.finos.legend.engine.persistence.components.ingestmode.NontemporalSnapshot; import org.finos.legend.engine.persistence.components.ingestmode.UnitemporalSnapshot; -import org.finos.legend.engine.persistence.components.ingestmode.audit.NoAuditing; import org.finos.legend.engine.persistence.components.ingestmode.transactionmilestoning.BatchId; import org.finos.legend.engine.persistence.components.ingestmode.versioning.AllVersionsStrategy; import org.finos.legend.engine.persistence.components.logicalplan.datasets.Dataset; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-grammar/src/test/java/org/finos/legend/engine/language/pure/dsl/persistence/compiler/test/TestPersistenceCompilationFromGrammar.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-grammar/src/test/java/org/finos/legend/engine/language/pure/dsl/persistence/compiler/test/TestPersistenceCompilationFromGrammar.java index 1df281a140b..e777770490e 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-grammar/src/test/java/org/finos/legend/engine/language/pure/dsl/persistence/compiler/test/TestPersistenceCompilationFromGrammar.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-grammar/src/test/java/org/finos/legend/engine/language/pure/dsl/persistence/compiler/test/TestPersistenceCompilationFromGrammar.java @@ -22,7 +22,6 @@ import org.finos.legend.pure.generated.Root_meta_external_format_shared_binding_Binding; import org.finos.legend.pure.generated.Root_meta_pure_persistence_metamodel_PersistenceTest; import org.finos.legend.pure.generated.Root_meta_pure_persistence_metamodel_PersistenceTestBatch; -import org.finos.legend.pure.generated.Root_meta_pure_persistence_metamodel_TestData; import org.finos.legend.pure.generated.Root_meta_pure_persistence_metamodel_trigger_Trigger; import org.finos.legend.pure.generated.Root_meta_pure_persistence_metamodel_persister_Persister; import org.finos.legend.pure.generated.Root_meta_pure_persistence_metamodel_notifier_Notifier; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/persistence/test/TestData.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/persistence/test/TestData.java index defc05990e9..208063c099f 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/persistence/test/TestData.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/persistence/test/TestData.java @@ -16,7 +16,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.SourceInformation; -import java.util.List; public class TestData { diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-test-runner/src/main/java/org/finos/legend/engine/testable/persistence/mapper/v1/MappingVisitors.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-test-runner/src/main/java/org/finos/legend/engine/testable/persistence/mapper/v1/MappingVisitors.java index 0b61881f9ab..7585bfe0774 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-test-runner/src/main/java/org/finos/legend/engine/testable/persistence/mapper/v1/MappingVisitors.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-test-runner/src/main/java/org/finos/legend/engine/testable/persistence/mapper/v1/MappingVisitors.java @@ -25,7 +25,6 @@ import org.finos.legend.engine.persistence.components.ingestmode.validitymilestoning.ValidityMilestoning; import org.finos.legend.engine.persistence.components.ingestmode.validitymilestoning.derivation.ValidityDerivation; import org.finos.legend.engine.persistence.components.logicalplan.datasets.DataType; -import org.finos.legend.engine.persistence.components.logicalplan.datasets.Dataset; import org.finos.legend.engine.persistence.components.logicalplan.datasets.Field; import org.finos.legend.engine.persistence.components.logicalplan.datasets.FieldType; import org.finos.legend.engine.persistence.components.logicalplan.datasets.SchemaDefinition; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-test-runner/src/main/java/org/finos/legend/engine/testable/persistence/mapper/v2/IngestModeMapper.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-test-runner/src/main/java/org/finos/legend/engine/testable/persistence/mapper/v2/IngestModeMapper.java index 5a970efbe7d..1699e6da6ce 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-test-runner/src/main/java/org/finos/legend/engine/testable/persistence/mapper/v2/IngestModeMapper.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-test-runner/src/main/java/org/finos/legend/engine/testable/persistence/mapper/v2/IngestModeMapper.java @@ -40,7 +40,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.persistence.relational.temporality.processing.ProcessingDateTime; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.persistence.relational.temporality.processing.ProcessingDimensionVisitor; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.persistence.relational.temporality.updatesHandling.Overwrite; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.persistence.relational.temporality.updatesHandling.appendStrategy.FilterDuplicates; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.persistence.service.output.GraphFetchServiceOutput; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.persistence.service.output.ServiceOutputTarget; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.classInstance.path.Path; diff --git a/legend-engine-xts-persistence/legend-engine-xt-persistence-test-runner/src/test/java/org/finos/legend/engine/testable/persistence/mapper/IngestModeMapperTest.java b/legend-engine-xts-persistence/legend-engine-xt-persistence-test-runner/src/test/java/org/finos/legend/engine/testable/persistence/mapper/IngestModeMapperTest.java index 23034058ed4..586eddb0c81 100644 --- a/legend-engine-xts-persistence/legend-engine-xt-persistence-test-runner/src/test/java/org/finos/legend/engine/testable/persistence/mapper/IngestModeMapperTest.java +++ b/legend-engine-xts-persistence/legend-engine-xt-persistence-test-runner/src/test/java/org/finos/legend/engine/testable/persistence/mapper/IngestModeMapperTest.java @@ -21,8 +21,6 @@ import org.finos.legend.engine.persistence.components.ingestmode.UnitemporalSnapshot; import org.finos.legend.engine.persistence.components.ingestmode.audit.DateTimeAuditing; import org.finos.legend.engine.persistence.components.ingestmode.audit.NoAuditing; -import org.finos.legend.engine.persistence.components.ingestmode.deduplication.AllowDuplicates; -import org.finos.legend.engine.persistence.components.ingestmode.deduplication.FilterDuplicates; import org.finos.legend.engine.persistence.components.ingestmode.digest.UserProvidedDigestGenStrategy; import org.finos.legend.engine.persistence.components.ingestmode.merge.DeleteIndicatorMergeStrategy; import org.finos.legend.engine.persistence.components.ingestmode.merge.NoDeletesMergeStrategy; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-bigquery/legend-engine-xt-relationalStore-bigquery-execution-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestBigQueryWithGCPApplicationDefaultCredentialsFlow.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-bigquery/legend-engine-xt-relationalStore-bigquery-execution-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestBigQueryWithGCPApplicationDefaultCredentialsFlow.java index f6bdc78e4e7..3e9c7202fea 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-bigquery/legend-engine-xt-relationalStore-bigquery-execution-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestBigQueryWithGCPApplicationDefaultCredentialsFlow.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-bigquery/legend-engine-xt-relationalStore-bigquery-execution-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestBigQueryWithGCPApplicationDefaultCredentialsFlow.java @@ -20,7 +20,6 @@ import org.finos.legend.engine.shared.core.identity.Credential; import org.finos.legend.engine.shared.core.identity.Identity; import org.finos.legend.engine.shared.core.identity.credential.GCPApplicationDefaultCredential; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.junit.Test; import static org.junit.Assert.assertTrue; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-databricks/legend-engine-xt-relationalStore-databricks-execution/src/test/java/org/finos/legend/engine/authentication/flows/TestDatabricksWithApiTokenFlow.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-databricks/legend-engine-xt-relationalStore-databricks-execution/src/test/java/org/finos/legend/engine/authentication/flows/TestDatabricksWithApiTokenFlow.java index 4f401765292..5de0cc91f78 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-databricks/legend-engine-xt-relationalStore-databricks-execution/src/test/java/org/finos/legend/engine/authentication/flows/TestDatabricksWithApiTokenFlow.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-databricks/legend-engine-xt-relationalStore-databricks-execution/src/test/java/org/finos/legend/engine/authentication/flows/TestDatabricksWithApiTokenFlow.java @@ -19,7 +19,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.DatabricksDatasourceSpecification; import org.finos.legend.engine.shared.core.identity.Identity; import org.finos.legend.engine.shared.core.identity.credential.ApiTokenCredential; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.finos.legend.engine.shared.core.vault.Vault; import org.junit.Before; import org.junit.Test; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-duckdb/legend-engine-xt-relationalStore-duckdb-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/driver/vendors/duckdb/DuckDBDriver.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-duckdb/legend-engine-xt-relationalStore-duckdb-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/driver/vendors/duckdb/DuckDBDriver.java index b228219ba80..6d8a2c52d6a 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-duckdb/legend-engine-xt-relationalStore-duckdb-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/driver/vendors/duckdb/DuckDBDriver.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-duckdb/legend-engine-xt-relationalStore-duckdb-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/driver/vendors/duckdb/DuckDBDriver.java @@ -14,10 +14,8 @@ package org.finos.legend.engine.plan.execution.stores.relational.connection.driver.vendors.duckdb; -import com.google.common.base.Strings; import org.finos.legend.engine.plan.execution.stores.relational.connection.driver.DriverWrapper; -import java.util.List; import java.util.Properties; public class DuckDBDriver extends DriverWrapper diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-duckdb/legend-engine-xt-relationalStore-duckdb-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/driver/vendors/duckdb/DuckDBManager.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-duckdb/legend-engine-xt-relationalStore-duckdb-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/driver/vendors/duckdb/DuckDBManager.java index 053af484ce0..e89017109ed 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-duckdb/legend-engine-xt-relationalStore-duckdb-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/driver/vendors/duckdb/DuckDBManager.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-duckdb/legend-engine-xt-relationalStore-duckdb-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/driver/vendors/duckdb/DuckDBManager.java @@ -22,8 +22,6 @@ import org.finos.legend.engine.plan.execution.stores.relational.connection.driver.DatabaseManager; import org.finos.legend.engine.plan.execution.stores.relational.connection.driver.commands.RelationalDatabaseCommands; import org.finos.legend.engine.plan.execution.stores.relational.ds.specifications.DuckDBDataSourceSpecification; -import org.finos.legend.engine.shared.core.operational.Assert; -import org.finos.legend.engine.shared.core.operational.errorManagement.EngineException; public class DuckDBManager extends DatabaseManager { diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-duckdb/legend-engine-xt-relationalStore-duckdb-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/DuckDBProtocolExtension.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-duckdb/legend-engine-xt-relationalStore-duckdb-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/DuckDBProtocolExtension.java index 653a5615e80..0888b0830a6 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-duckdb/legend-engine-xt-relationalStore-duckdb-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/DuckDBProtocolExtension.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-duckdb/legend-engine-xt-relationalStore-duckdb-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/DuckDBProtocolExtension.java @@ -19,7 +19,6 @@ import org.eclipse.collections.impl.factory.Lists; import org.finos.legend.engine.protocol.pure.v1.extension.ProtocolSubTypeInfo; import org.finos.legend.engine.protocol.pure.v1.extension.PureProtocolExtension; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.authentication.AuthenticationStrategy; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.DatasourceSpecification; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.DuckDBDatasourceSpecification; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-execution/src/main/java/org/finos/legend/engine/authentication/flows/MemSQLStaticWithUserPasswordFlow.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-execution/src/main/java/org/finos/legend/engine/authentication/flows/MemSQLStaticWithUserPasswordFlow.java index 7540088063d..df0d5345485 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-execution/src/main/java/org/finos/legend/engine/authentication/flows/MemSQLStaticWithUserPasswordFlow.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-execution/src/main/java/org/finos/legend/engine/authentication/flows/MemSQLStaticWithUserPasswordFlow.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.authentication.flows; import org.finos.legend.engine.authentication.DatabaseAuthenticationFlow; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.MemSqlDatasourceSpecification; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.DatabaseType; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.authentication.UserNamePasswordAuthenticationStrategy; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.StaticDatasourceSpecification; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/specifications/MemSqlDataSourceSpecification.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/specifications/MemSqlDataSourceSpecification.java index 911a07e8b61..d56cafe99a7 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/specifications/MemSqlDataSourceSpecification.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-execution/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/specifications/MemSqlDataSourceSpecification.java @@ -18,8 +18,6 @@ import org.finos.legend.engine.plan.execution.stores.relational.connection.driver.DatabaseManager; import org.finos.legend.engine.plan.execution.stores.relational.connection.ds.DataSourceSpecification; import org.finos.legend.engine.plan.execution.stores.relational.connection.ds.specifications.keys.MemSqlDatasourceSpecificationKey; -import org.finos.legend.engine.plan.execution.stores.relational.connection.ds.specifications.keys.StaticDataSourceSpecificationKey; -import org.finos.legend.engine.shared.core.vault.Vault; import java.util.Optional; import java.util.Properties; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/store/relational/connection/specification/MemSqlDatasourceSpecification.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/store/relational/connection/specification/MemSqlDatasourceSpecification.java index 970b0cc223e..c511ab40154 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/store/relational/connection/specification/MemSqlDatasourceSpecification.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-memsql/legend-engine-xt-relationalStore-memsql-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/store/relational/connection/specification/MemSqlDatasourceSpecification.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification; -import java.util.Properties; public class MemSqlDatasourceSpecification extends DatasourceSpecification { diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-execution/src/test/java/org/finos/legend/engine/authentication/flows/TestSnowflakeWithKeyPairFlow.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-execution/src/test/java/org/finos/legend/engine/authentication/flows/TestSnowflakeWithKeyPairFlow.java index 141bbb5564e..c22a7c8813d 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-execution/src/test/java/org/finos/legend/engine/authentication/flows/TestSnowflakeWithKeyPairFlow.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-execution/src/test/java/org/finos/legend/engine/authentication/flows/TestSnowflakeWithKeyPairFlow.java @@ -32,11 +32,9 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.SnowflakeDatasourceSpecification; import org.finos.legend.engine.shared.core.identity.Identity; import org.finos.legend.engine.shared.core.identity.credential.PrivateKeyCredential; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.finos.legend.engine.shared.core.vault.Vault; import org.junit.Before; import org.junit.Ignore; -import org.junit.Test; import java.io.IOException; import java.io.StringWriter; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-execution/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/test/semiStructured/TestSnowflakeSemiStructuredMatching.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-execution/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/test/semiStructured/TestSnowflakeSemiStructuredMatching.java index c28dc0c3ad9..dd36ae5167c 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-execution/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/test/semiStructured/TestSnowflakeSemiStructuredMatching.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-execution/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/test/semiStructured/TestSnowflakeSemiStructuredMatching.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.plan.execution.stores.relational.test.semiStructured; -import org.eclipse.collections.impl.multimap.set.SynchronizedSetMultimap; import org.junit.Assert; import org.junit.Test; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestRelationalCompilationFromGrammar.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestRelationalCompilationFromGrammar.java index 0f27cb40666..cb0970f477d 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestRelationalCompilationFromGrammar.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestRelationalCompilationFromGrammar.java @@ -36,7 +36,6 @@ import org.junit.Test; import java.util.Arrays; -import java.util.Collections; public class TestRelationalCompilationFromGrammar extends TestCompilationFromGrammar.TestCompilationFromGrammarTestSuite { diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestSnowflakeConnectionGrammarParser.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestSnowflakeConnectionGrammarParser.java index 61a4a393d05..89be92c926a 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestSnowflakeConnectionGrammarParser.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestSnowflakeConnectionGrammarParser.java @@ -19,7 +19,6 @@ import org.eclipse.collections.impl.list.mutable.ListAdapter; import org.finos.legend.engine.language.pure.grammar.from.antlr4.connection.ConnectionParserGrammar; import org.finos.legend.engine.language.pure.grammar.from.antlr4.connection.RelationalDatabaseConnectionParserGrammar; -import org.finos.legend.engine.language.pure.grammar.test.TestGrammarParser; import org.junit.Test; import java.util.List; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestSnowflakeConnectionGrammarRoundtrip.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestSnowflakeConnectionGrammarRoundtrip.java index c9257801df6..c2994773022 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestSnowflakeConnectionGrammarRoundtrip.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-dbExtension/legend-engine-xt-relationalStore-snowflake/legend-engine-xt-relationalStore-snowflake-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestSnowflakeConnectionGrammarRoundtrip.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.language.pure.grammar.test; -import org.finos.legend.engine.language.pure.grammar.test.TestGrammarRoundtrip; import org.junit.Test; public class TestSnowflakeConnectionGrammarRoundtrip extends TestGrammarRoundtrip.TestGrammarRoundtripTestSuite diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestConnectionState.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestConnectionState.java index ef57da47ee6..5c11e3f05e2 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestConnectionState.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestConnectionState.java @@ -26,7 +26,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.authentication.TestDatabaseAuthenticationStrategy; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.StaticDatasourceSpecification; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.finos.legend.engine.shared.core.port.DynamicPortGenerator; import org.h2.tools.Server; import org.junit.After; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestCredentialCreation.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestCredentialCreation.java index d8675b28d50..cfc23bbd164 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestCredentialCreation.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestCredentialCreation.java @@ -24,7 +24,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.authentication.TestDatabaseAuthenticationStrategy; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.StaticDatasourceSpecification; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.finos.legend.engine.shared.core.port.DynamicPortGenerator; import org.h2.jdbc.JdbcConnection; import org.h2.tools.Server; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestDatasourceCreation.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestDatasourceCreation.java index 9b7f870b8a7..37d876f0837 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestDatasourceCreation.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestDatasourceCreation.java @@ -31,7 +31,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.authentication.TestDatabaseAuthenticationStrategy; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.StaticDatasourceSpecification; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.finos.legend.engine.shared.core.port.DynamicPortGenerator; import org.h2.tools.Server; import org.junit.After; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestLocalH2ConnectionCreation.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestLocalH2ConnectionCreation.java index b16a0874b45..1565d083408 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestLocalH2ConnectionCreation.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestLocalH2ConnectionCreation.java @@ -26,7 +26,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.authentication.TestDatabaseAuthenticationStrategy; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.LocalH2DatasourceSpecification; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.junit.Assert; import org.junit.Before; import org.junit.Test; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestLocalH2ConnectionState.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestLocalH2ConnectionState.java index 1ff44dec8b8..18d31875d28 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestLocalH2ConnectionState.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestLocalH2ConnectionState.java @@ -27,7 +27,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.authentication.TestDatabaseAuthenticationStrategy; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.LocalH2DatasourceSpecification; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.junit.Before; import org.junit.Test; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestLocalH2DatasourceSpecificationCaching.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestLocalH2DatasourceSpecificationCaching.java index 5e85e969440..8315bc1863e 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestLocalH2DatasourceSpecificationCaching.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/TestLocalH2DatasourceSpecificationCaching.java @@ -27,7 +27,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.authentication.TestDatabaseAuthenticationStrategy; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.LocalH2DatasourceSpecification; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.junit.Before; import org.junit.Test; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/utils/ConnectionPoolTestUtils.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/utils/ConnectionPoolTestUtils.java index 3ac43158625..1c7ab95a3ac 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/utils/ConnectionPoolTestUtils.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection-tests/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/test/utils/ConnectionPoolTestUtils.java @@ -21,7 +21,6 @@ import org.finos.legend.engine.plan.execution.stores.relational.connection.ds.DataSourceWithStatistics; import org.finos.legend.engine.plan.execution.stores.relational.connection.ds.state.ConnectionStateManager; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import java.util.List; import java.util.Objects; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/H2LocalServer.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/H2LocalServer.java index 808e6500ff9..aae3e18428b 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/H2LocalServer.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/H2LocalServer.java @@ -14,8 +14,6 @@ package org.finos.legend.engine.plan.execution.stores.relational; -import org.finos.legend.engine.shared.core.port.DynamicPortGenerator; - import java.sql.SQLException; public class H2LocalServer diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/authentication/AuthenticationStrategy.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/authentication/AuthenticationStrategy.java index 857fd776e39..6a2bdad90ed 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/authentication/AuthenticationStrategy.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/authentication/AuthenticationStrategy.java @@ -26,12 +26,10 @@ import org.slf4j.Logger; import javax.security.auth.Subject; -import javax.security.auth.kerberos.KerberosTicket; import javax.sql.DataSource; import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; import java.sql.Connection; -import java.util.Optional; import java.util.Properties; import static java.util.concurrent.TimeUnit.SECONDS; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/tests/api/DynamicTestConnection.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/tests/api/DynamicTestConnection.java index 95905622ff7..f9948742d6e 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/tests/api/DynamicTestConnection.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/tests/api/DynamicTestConnection.java @@ -17,7 +17,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.DatabaseType; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.RelationalDatabaseConnection; import org.finos.legend.engine.shared.core.extension.LegendConnectionExtension; -import org.finos.legend.engine.shared.core.extension.LegendExtension; //Connections that are started on the fly by legend test server public interface DynamicTestConnection extends LegendConnectionExtension diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestConnectionManagement.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestConnectionManagement.java index 5571b75cb12..a43d9adc622 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestConnectionManagement.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestConnectionManagement.java @@ -21,7 +21,6 @@ import org.finos.legend.engine.plan.execution.stores.relational.connection.ds.DataSourceWithStatistics; import org.finos.legend.engine.plan.execution.stores.relational.connection.ds.specifications.LocalH2DataSourceSpecification; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.junit.Assert; import org.junit.Before; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestConnectionStateManager.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestConnectionStateManager.java index de0cf8f77b4..cfd4bc4ebaa 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestConnectionStateManager.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestConnectionStateManager.java @@ -19,7 +19,6 @@ import org.finos.legend.engine.plan.execution.stores.relational.connection.ds.DataSourceWithStatistics; import org.finos.legend.engine.shared.core.identity.Credential; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.junit.Assert; import org.junit.Before; import org.junit.Rule; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestConnectionStateManagerRace.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestConnectionStateManagerRace.java index b50d92e77c9..b390f8eadda 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestConnectionStateManagerRace.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestConnectionStateManagerRace.java @@ -17,7 +17,6 @@ import org.finos.legend.engine.plan.execution.stores.relational.connection.ds.DataSourceSpecification; import org.finos.legend.engine.plan.execution.stores.relational.connection.ds.DataSourceStatistics; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.junit.Assert; import org.junit.Before; import org.junit.Test; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestPoolName.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestPoolName.java index d6af360e5bd..1d0fe60e0d4 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestPoolName.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan-connection/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/connection/ds/state/TestPoolName.java @@ -16,7 +16,6 @@ import org.finos.legend.engine.plan.execution.stores.relational.connection.ds.DataSourceSpecification; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.junit.Before; import org.junit.Test; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/RelationalStoreExecutorExtension.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/RelationalStoreExecutorExtension.java index 48feaf91678..245719a3f0d 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/RelationalStoreExecutorExtension.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/RelationalStoreExecutorExtension.java @@ -17,7 +17,6 @@ import org.finos.legend.engine.plan.execution.result.StreamingResult; import org.finos.legend.engine.plan.execution.stores.relational.config.RelationalExecutionConfiguration; import org.finos.legend.engine.plan.execution.stores.relational.connection.driver.commands.RelationalDatabaseCommandsVisitor; -import org.finos.legend.engine.shared.core.extension.LegendExtension; import org.finos.legend.engine.shared.core.extension.LegendModuleSpecificExtension; import java.sql.Connection; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/manager/strategic/StrategicConnectionExtension.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/manager/strategic/StrategicConnectionExtension.java index a4d06361a7f..17ae0803bae 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/manager/strategic/StrategicConnectionExtension.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/connection/manager/strategic/StrategicConnectionExtension.java @@ -26,9 +26,7 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.DatasourceSpecification; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.connection.specification.DatasourceSpecificationVisitor; import org.finos.legend.engine.shared.core.extension.LegendConnectionExtension; -import org.finos.legend.engine.shared.core.extension.LegendExtension; -import java.util.Collections; import java.util.List; import java.util.function.Function; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/result/ResultInterpreterExtension.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/result/ResultInterpreterExtension.java index 50e6b2b5d3f..4c212c2a370 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/result/ResultInterpreterExtension.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/result/ResultInterpreterExtension.java @@ -20,7 +20,6 @@ import org.finos.legend.engine.plan.execution.nodes.state.ExecutionState; import org.finos.legend.engine.plan.execution.result.Result; import org.finos.legend.engine.shared.core.extension.LegendModuleSpecificExtension; -import org.finos.legend.engine.shared.core.extension.LegendPlanExtension; import java.util.List; import java.util.Map; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/result/graphFetch/RelationalGraphObjectsBatch.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/result/graphFetch/RelationalGraphObjectsBatch.java index 4b5c5fd4d80..23c875bcc89 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/result/graphFetch/RelationalGraphObjectsBatch.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/relational/result/graphFetch/RelationalGraphObjectsBatch.java @@ -19,9 +19,7 @@ import org.finos.legend.engine.shared.core.collectionsExtensions.DoubleStrategyHashMap; import java.lang.reflect.Method; -import java.util.HashMap; import java.util.List; -import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/test/full/functions/in/TestPlanExecutionForIn.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/test/full/functions/in/TestPlanExecutionForIn.java index c6f2c8ccae3..39cd763abd8 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/test/full/functions/in/TestPlanExecutionForIn.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-execution/legend-engine-xt-relationalStore-executionPlan/src/test/java/org/finos/legend/engine/plan/execution/stores/relational/test/full/functions/in/TestPlanExecutionForIn.java @@ -33,12 +33,8 @@ import java.sql.SQLException; import java.sql.Statement; import java.util.HashMap; -import java.util.List; import java.util.Map; -import java.util.stream.Collectors; -import static org.finos.legend.engine.plan.execution.nodes.helpers.freemarker.FreeMarkerExecutor.overridePropertyForTemplateModel; -import static org.finos.legend.engine.plan.execution.nodes.helpers.freemarker.FreeMarkerExecutor.processRecursively; public class TestPlanExecutionForIn extends AlloyTestServer { diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-grammar/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/RelationalCompilerExtension.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-grammar/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/RelationalCompilerExtension.java index bd75ca97182..221e667ee5d 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-grammar/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/RelationalCompilerExtension.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-grammar/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/RelationalCompilerExtension.java @@ -73,7 +73,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.executionContext.ExecutionContext; import org.finos.legend.engine.shared.core.function.Function4; import org.finos.legend.engine.shared.core.function.Procedure3; -import org.finos.legend.engine.shared.core.operational.Assert; import org.finos.legend.engine.shared.core.operational.errorManagement.EngineException; import org.finos.legend.pure.generated.Root_meta_core_runtime_Connection; import org.finos.legend.pure.generated.Root_meta_external_store_relational_runtime_RelationalDatabaseConnection; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/milestoning/MilestoningParseTreeWalker.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/milestoning/MilestoningParseTreeWalker.java index 6f811c8019b..aaad614fe76 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/milestoning/MilestoningParseTreeWalker.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-grammar/src/main/java/org/finos/legend/engine/language/pure/grammar/from/milestoning/MilestoningParseTreeWalker.java @@ -28,7 +28,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.CStrictDate; import org.finos.legend.engine.shared.core.operational.errorManagement.EngineException; -import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pattern; diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-grammar/src/test/java/org/finos/legend/engine/language/pure/compiler/test/TestRelationalCompilationFromGrammar.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-grammar/src/test/java/org/finos/legend/engine/language/pure/compiler/test/TestRelationalCompilationFromGrammar.java index efbed88fb2d..4c5c024bf84 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-grammar/src/test/java/org/finos/legend/engine/language/pure/compiler/test/TestRelationalCompilationFromGrammar.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-grammar/src/test/java/org/finos/legend/engine/language/pure/compiler/test/TestRelationalCompilationFromGrammar.java @@ -35,7 +35,6 @@ import org.junit.Test; import java.util.Arrays; -import java.util.Collections; public class TestRelationalCompilationFromGrammar extends TestCompilationFromGrammar.TestCompilationFromGrammarTestSuite { diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-testDataGeneration-http-api/src/main/java/org/finos/legend/engine/testData/generation/service/TestDataGenerationService.java b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-testDataGeneration-http-api/src/main/java/org/finos/legend/engine/testData/generation/service/TestDataGenerationService.java index fa0d0ebeaa3..248f368d0b6 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-testDataGeneration-http-api/src/main/java/org/finos/legend/engine/testData/generation/service/TestDataGenerationService.java +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-testDataGeneration-http-api/src/main/java/org/finos/legend/engine/testData/generation/service/TestDataGenerationService.java @@ -22,7 +22,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.data.RelationalCSVData; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.relational.data.RelationalCSVTable; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.raw.Lambda; -import org.finos.legend.pure.generated.Root_meta_core_runtime_Runtime; import org.finos.legend.pure.generated.Root_meta_relational_metamodel_data_RelationalCSVData; import org.finos.legend.pure.m3.coreinstance.meta.pure.mapping.Mapping; import org.finos.legend.pure.generated.core_relational_relational_testDataGeneration_testDataGeneration; diff --git a/legend-engine-xts-service/legend-engine-language-pure-dsl-service-execution/src/test/java/org/finos/legend/engine/language/pure/dsl/service/execution/TestServiceRunner.java b/legend-engine-xts-service/legend-engine-language-pure-dsl-service-execution/src/test/java/org/finos/legend/engine/language/pure/dsl/service/execution/TestServiceRunner.java index 15f0f40e693..6f255e01727 100644 --- a/legend-engine-xts-service/legend-engine-language-pure-dsl-service-execution/src/test/java/org/finos/legend/engine/language/pure/dsl/service/execution/TestServiceRunner.java +++ b/legend-engine-xts-service/legend-engine-language-pure-dsl-service-execution/src/test/java/org/finos/legend/engine/language/pure/dsl/service/execution/TestServiceRunner.java @@ -40,7 +40,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.domain.Function; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.domain.Multiplicity; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.finos.legend.engine.shared.javaCompiler.EngineJavaCompiler; import org.finos.legend.engine.shared.javaCompiler.JavaCompileException; import org.hamcrest.CoreMatchers; @@ -49,8 +48,6 @@ import org.junit.Test; import org.junit.internal.matchers.ThrowableMessageMatcher; -import javax.security.auth.Subject; -import javax.security.auth.kerberos.KerberosPrincipal; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.InputStreamReader; @@ -58,10 +55,8 @@ import java.util.Arrays; import java.util.Collections; import java.util.Date; -import java.util.HashSet; import java.util.List; import java.util.Objects; -import java.util.Set; import java.util.stream.Collectors; import static org.finos.legend.pure.generated.core_relational_java_platform_binding_legendJavaPlatformBinding_relationalLegendJavaPlatformBindingExtension.Root_meta_relational_executionPlan_platformBinding_legendJava_relationalExtensionsWithLegendJavaPlatformBinding__Extension_MANY_; diff --git a/legend-engine-xts-service/legend-engine-service-post-validation-runner/src/main/java/org/finos/legend/engine/service/post/validation/runner/PostValidationAssertionStreamingOutput.java b/legend-engine-xts-service/legend-engine-service-post-validation-runner/src/main/java/org/finos/legend/engine/service/post/validation/runner/PostValidationAssertionStreamingOutput.java index 4c57270d680..fe0a8c13d1b 100644 --- a/legend-engine-xts-service/legend-engine-service-post-validation-runner/src/main/java/org/finos/legend/engine/service/post/validation/runner/PostValidationAssertionStreamingOutput.java +++ b/legend-engine-xts-service/legend-engine-service-post-validation-runner/src/main/java/org/finos/legend/engine/service/post/validation/runner/PostValidationAssertionStreamingOutput.java @@ -17,7 +17,6 @@ package org.finos.legend.engine.service.post.validation.runner; import java.io.OutputStream; -import java.sql.SQLException; import org.finos.legend.engine.plan.execution.result.StreamingResult; import org.finos.legend.engine.plan.execution.result.object.StreamingObjectResult; diff --git a/legend-engine-xts-service/legend-engine-service-post-validation-runner/src/main/java/org/finos/legend/engine/service/post/validation/runner/ServicePostValidationRunner.java b/legend-engine-xts-service/legend-engine-service-post-validation-runner/src/main/java/org/finos/legend/engine/service/post/validation/runner/ServicePostValidationRunner.java index 6cb396f0fcd..a1d298c88d2 100644 --- a/legend-engine-xts-service/legend-engine-service-post-validation-runner/src/main/java/org/finos/legend/engine/service/post/validation/runner/ServicePostValidationRunner.java +++ b/legend-engine-xts-service/legend-engine-service-post-validation-runner/src/main/java/org/finos/legend/engine/service/post/validation/runner/ServicePostValidationRunner.java @@ -29,7 +29,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.executionPlan.SingleExecutionPlan; import org.finos.legend.engine.protocol.pure.v1.model.valueSpecification.Variable; import org.finos.legend.engine.shared.core.identity.Identity; -import org.finos.legend.engine.shared.core.identity.factory.IdentityFactoryProvider; import org.finos.legend.engine.shared.core.operational.prometheus.MetricsHandler; import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_KeyedExecutionParameter; import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_PostValidation; diff --git a/legend-engine-xts-service/legend-engine-test-runner-service/src/test/java/org/finos/legend/engine/test/runner/service/TestRuntimeGenerationForServiceTests.java b/legend-engine-xts-service/legend-engine-test-runner-service/src/test/java/org/finos/legend/engine/test/runner/service/TestRuntimeGenerationForServiceTests.java index ea67b9e4f3f..d77afd6cac2 100644 --- a/legend-engine-xts-service/legend-engine-test-runner-service/src/test/java/org/finos/legend/engine/test/runner/service/TestRuntimeGenerationForServiceTests.java +++ b/legend-engine-xts-service/legend-engine-test-runner-service/src/test/java/org/finos/legend/engine/test/runner/service/TestRuntimeGenerationForServiceTests.java @@ -26,7 +26,6 @@ import org.finos.legend.engine.shared.core.identity.Identity; import org.finos.legend.engine.shared.core.identity.factory.*; import org.junit.Assert; -import org.junit.Ignore; import org.junit.Test; public class TestRuntimeGenerationForServiceTests diff --git a/legend-engine-xts-service/legend-engine-test-runner-service/src/test/java/org/finos/legend/engine/test/runner/service/TestServiceTestRunner.java b/legend-engine-xts-service/legend-engine-test-runner-service/src/test/java/org/finos/legend/engine/test/runner/service/TestServiceTestRunner.java index 28e00aa50dc..036cf44c4e6 100644 --- a/legend-engine-xts-service/legend-engine-test-runner-service/src/test/java/org/finos/legend/engine/test/runner/service/TestServiceTestRunner.java +++ b/legend-engine-xts-service/legend-engine-test-runner-service/src/test/java/org/finos/legend/engine/test/runner/service/TestServiceTestRunner.java @@ -26,7 +26,6 @@ import org.finos.legend.engine.test.runner.shared.TestResult; import org.finos.legend.pure.generated.Root_meta_legend_service_metamodel_Service; import org.junit.Assert; -import org.junit.Ignore; import org.junit.Test; import java.net.URL; diff --git a/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/service/auth/ServiceStoreAuthenticationSpecification.java b/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/service/auth/ServiceStoreAuthenticationSpecification.java index 2f5cf83acd7..c532d376b5c 100644 --- a/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/service/auth/ServiceStoreAuthenticationSpecification.java +++ b/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/service/auth/ServiceStoreAuthenticationSpecification.java @@ -22,7 +22,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.service.model.SecurityScheme; import java.util.List; -import java.util.Map; public class ServiceStoreAuthenticationSpecification extends AuthenticationSpecification { diff --git a/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/service/plugin/ServiceStoreExecutionConfiguration.java b/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/service/plugin/ServiceStoreExecutionConfiguration.java index df36f0f0b92..90b02c5cca6 100644 --- a/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/service/plugin/ServiceStoreExecutionConfiguration.java +++ b/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/service/plugin/ServiceStoreExecutionConfiguration.java @@ -17,7 +17,6 @@ import org.finos.legend.authentication.credentialprovider.CredentialProviderProvider; import org.finos.legend.engine.plan.execution.stores.StoreExecutorConfiguration; import org.finos.legend.engine.plan.execution.stores.StoreType; -import org.finos.legend.engine.plan.execution.stores.service.ServiceExecutor; public class ServiceStoreExecutionConfiguration implements StoreExecutorConfiguration { diff --git a/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/service/test/contentPattern/ContentPatternToWiremockPatternGenerator.java b/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/service/test/contentPattern/ContentPatternToWiremockPatternGenerator.java index 22a959e2d6f..cf742756ab3 100644 --- a/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/service/test/contentPattern/ContentPatternToWiremockPatternGenerator.java +++ b/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-executionPlan/src/main/java/org/finos/legend/engine/plan/execution/stores/service/test/contentPattern/ContentPatternToWiremockPatternGenerator.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.plan.execution.stores.service.test.contentPattern; import org.finos.legend.engine.protocol.pure.v1.model.data.contentPattern.ContentPattern; -import org.finos.legend.engine.shared.core.extension.LegendExtension; import org.finos.legend.engine.shared.core.extension.LegendModuleSpecificExtension; public interface ContentPatternToWiremockPatternGenerator extends LegendModuleSpecificExtension diff --git a/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-grammar/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/IServiceStoreCompilerExtension.java b/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-grammar/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/IServiceStoreCompilerExtension.java index 4c6bb2e0dd7..055955da84f 100644 --- a/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-grammar/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/IServiceStoreCompilerExtension.java +++ b/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-grammar/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/IServiceStoreCompilerExtension.java @@ -14,20 +14,14 @@ package org.finos.legend.engine.language.pure.compiler.toPureGraph; -import org.eclipse.collections.api.block.function.Function; import org.eclipse.collections.api.block.function.Function2; import org.eclipse.collections.api.factory.Lists; import org.eclipse.collections.impl.list.mutable.FastList; import org.finos.legend.engine.language.pure.compiler.toPureGraph.extension.CompilerExtension; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.authentication.specification.AuthenticationSpecification; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.service.model.SecurityScheme; -import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.store.service.model.SecuritySchemeRequirement; import org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_SecurityScheme; -import org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_SecuritySchemeRequirement; -import org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_runtime_ServiceStoreConnection; import java.util.List; -import java.util.Map; import java.util.ServiceLoader; public interface IServiceStoreCompilerExtension extends CompilerExtension diff --git a/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-grammar/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/data/contentPattern/ContentPatternCompiler.java b/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-grammar/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/data/contentPattern/ContentPatternCompiler.java index 62f56f4c077..0a4f0f60c1c 100644 --- a/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-grammar/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/data/contentPattern/ContentPatternCompiler.java +++ b/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-grammar/src/main/java/org/finos/legend/engine/language/pure/compiler/toPureGraph/data/contentPattern/ContentPatternCompiler.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.language.pure.compiler.toPureGraph.data.contentPattern; import org.finos.legend.engine.protocol.pure.v1.model.data.contentPattern.ContentPattern; -import org.finos.legend.engine.shared.core.extension.LegendLanguageExtension; import org.finos.legend.engine.shared.core.extension.LegendModuleSpecificExtension; import org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_data_ContentPattern; diff --git a/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/store/service/connection/ServiceStoreConnection.java b/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/store/service/connection/ServiceStoreConnection.java index 707106820cd..2fdb48adedf 100644 --- a/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/store/service/connection/ServiceStoreConnection.java +++ b/legend-engine-xts-serviceStore/legend-engine-xt-serviceStore-protocol/src/main/java/org/finos/legend/engine/protocol/pure/v1/model/packageableElement/store/service/connection/ServiceStoreConnection.java @@ -18,7 +18,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.connection.Connection; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.connection.ConnectionVisitor; -import java.util.Collections; import java.util.Map; public class ServiceStoreConnection extends Connection diff --git a/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-api/src/test/java/org/finos/legend/engine/language/snowflakeApp/api/TestValidation.java b/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-api/src/test/java/org/finos/legend/engine/language/snowflakeApp/api/TestValidation.java index b09cfa6818a..8f1bdc557e5 100644 --- a/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-api/src/test/java/org/finos/legend/engine/language/snowflakeApp/api/TestValidation.java +++ b/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-api/src/test/java/org/finos/legend/engine/language/snowflakeApp/api/TestValidation.java @@ -15,14 +15,12 @@ package org.finos.legend.engine.language.snowflakeApp.api; import com.fasterxml.jackson.core.type.TypeReference; -import org.eclipse.collections.api.factory.Lists; import org.finos.legend.engine.functionActivator.api.FunctionActivatorAPI; import org.finos.legend.engine.functionActivator.api.output.FunctionActivatorInfo; import org.finos.legend.engine.functionActivator.api.input.FunctionActivatorInput; import org.finos.legend.engine.language.pure.compiler.toPureGraph.PureModel; import org.finos.legend.engine.language.pure.grammar.from.PureGrammarParser; import org.finos.legend.engine.language.pure.modelManager.ModelManager; -import org.finos.legend.engine.plan.generation.extension.PlanGeneratorExtension; import org.finos.legend.engine.pure.code.core.PureCoreExtensionLoader; import org.finos.legend.engine.shared.core.ObjectMapperFactory; import org.finos.legend.engine.shared.core.deployment.DeploymentMode; @@ -32,7 +30,6 @@ import javax.ws.rs.core.Response; import java.util.List; -import java.util.ServiceLoader; public class TestValidation { diff --git a/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-grammar/src/main/java/org/finos/legend/engine/language/snowflakeApp/grammar/from/SnowflakeAppTreeWalker.java b/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-grammar/src/main/java/org/finos/legend/engine/language/snowflakeApp/grammar/from/SnowflakeAppTreeWalker.java index 30feeb4b866..47c22a1a73f 100644 --- a/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-grammar/src/main/java/org/finos/legend/engine/language/snowflakeApp/grammar/from/SnowflakeAppTreeWalker.java +++ b/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-grammar/src/main/java/org/finos/legend/engine/language/snowflakeApp/grammar/from/SnowflakeAppTreeWalker.java @@ -21,7 +21,6 @@ import org.finos.legend.engine.language.pure.grammar.from.PureGrammarParserUtility; import org.finos.legend.engine.language.pure.grammar.from.antlr4.SnowflakeAppParserGrammar; import org.finos.legend.engine.protocol.functionActivator.metamodel.DeploymentOwner; -import org.finos.legend.engine.protocol.pure.v1.model.context.EngineErrorType; import org.finos.legend.engine.protocol.pure.v1.model.context.PackageableElementPointer; import org.finos.legend.engine.protocol.pure.v1.model.context.PackageableElementType; import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.PackageableElement; @@ -32,7 +31,6 @@ import org.finos.legend.engine.protocol.pure.v1.model.packageableElement.section.DefaultCodeSection; import org.finos.legend.engine.protocol.snowflakeApp.metamodel.SnowflakeApp; import org.finos.legend.engine.protocol.snowflakeApp.metamodel.SnowflakeAppDeploymentConfiguration; -import org.finos.legend.engine.shared.core.operational.errorManagement.EngineException; import java.util.Collections; import java.util.List; diff --git a/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-protocol/src/main/java/org/finos/legend/engine/protocol/snowflakeApp/deployment/SnowflakeAppContent.java b/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-protocol/src/main/java/org/finos/legend/engine/protocol/snowflakeApp/deployment/SnowflakeAppContent.java index d4798e46eac..404c28b181a 100644 --- a/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-protocol/src/main/java/org/finos/legend/engine/protocol/snowflakeApp/deployment/SnowflakeAppContent.java +++ b/legend-engine-xts-snowflakeApp/legend-engine-xt-snowflakeApp-protocol/src/main/java/org/finos/legend/engine/protocol/snowflakeApp/deployment/SnowflakeAppContent.java @@ -21,7 +21,6 @@ import java.text.SimpleDateFormat; import java.util.Date; -import java.util.List; public class SnowflakeAppContent extends FunctionActivatorDeploymentContent { diff --git a/legend-engine-xts-sql/legend-engine-xt-sql-http-api/src/main/java/org/finos/legend/engine/query/sql/api/BaseNodeCollectorVisitor.java b/legend-engine-xts-sql/legend-engine-xt-sql-http-api/src/main/java/org/finos/legend/engine/query/sql/api/BaseNodeCollectorVisitor.java index 94fbd1bd1ce..776329e5712 100644 --- a/legend-engine-xts-sql/legend-engine-xt-sql-http-api/src/main/java/org/finos/legend/engine/query/sql/api/BaseNodeCollectorVisitor.java +++ b/legend-engine-xts-sql/legend-engine-xt-sql-http-api/src/main/java/org/finos/legend/engine/query/sql/api/BaseNodeCollectorVisitor.java @@ -16,7 +16,6 @@ package org.finos.legend.engine.query.sql.api; import org.eclipse.collections.impl.list.mutable.FastList; -import org.eclipse.collections.impl.utility.ArrayIterate; import org.eclipse.collections.impl.utility.ListIterate; import org.finos.legend.engine.protocol.sql.metamodel.AliasedRelation; import org.finos.legend.engine.protocol.sql.metamodel.AllColumns; @@ -80,7 +79,6 @@ import java.util.List; import java.util.Objects; import java.util.function.Function; -import java.util.stream.Collectors; public class BaseNodeCollectorVisitor implements NodeVisitor { diff --git a/legend-engine-xts-sql/legend-engine-xt-sql-http-api/src/main/java/org/finos/legend/engine/query/sql/api/SQLSourceTranslator.java b/legend-engine-xts-sql/legend-engine-xt-sql-http-api/src/main/java/org/finos/legend/engine/query/sql/api/SQLSourceTranslator.java index 7d6a99413a7..f3c831ded38 100644 --- a/legend-engine-xts-sql/legend-engine-xt-sql-http-api/src/main/java/org/finos/legend/engine/query/sql/api/SQLSourceTranslator.java +++ b/legend-engine-xts-sql/legend-engine-xt-sql-http-api/src/main/java/org/finos/legend/engine/query/sql/api/SQLSourceTranslator.java @@ -32,7 +32,6 @@ import org.finos.legend.engine.query.sql.providers.core.SQLSourceArgument; import org.finos.legend.pure.generated.*; -import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.valuespecification.ValueSpecification; import org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.valuespecification.VariableExpression; import java.util.List; diff --git a/legend-engine-xts-sql/legend-engine-xt-sql-http-api/src/test/java/org/finos/legend/engine/query/sql/api/grammar/SqlGrammarTest.java b/legend-engine-xts-sql/legend-engine-xt-sql-http-api/src/test/java/org/finos/legend/engine/query/sql/api/grammar/SqlGrammarTest.java index 287c60b011c..a4d9999c656 100644 --- a/legend-engine-xts-sql/legend-engine-xt-sql-http-api/src/test/java/org/finos/legend/engine/query/sql/api/grammar/SqlGrammarTest.java +++ b/legend-engine-xts-sql/legend-engine-xt-sql-http-api/src/test/java/org/finos/legend/engine/query/sql/api/grammar/SqlGrammarTest.java @@ -28,7 +28,6 @@ import org.junit.Test; import javax.ws.rs.client.Entity; -import java.io.IOException; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; diff --git a/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/main/java/org/finos/legend/engine/postgres/config/HandlerConfig.java b/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/main/java/org/finos/legend/engine/postgres/config/HandlerConfig.java index cf2f5fd5877..129e36c1e41 100644 --- a/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/main/java/org/finos/legend/engine/postgres/config/HandlerConfig.java +++ b/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/main/java/org/finos/legend/engine/postgres/config/HandlerConfig.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.postgres.config; -import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import org.finos.legend.engine.postgres.SessionsFactory; diff --git a/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/main/java/org/finos/legend/engine/postgres/config/LegendHandlerConfig.java b/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/main/java/org/finos/legend/engine/postgres/config/LegendHandlerConfig.java index cefdb1d2832..5388d9cbfa1 100644 --- a/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/main/java/org/finos/legend/engine/postgres/config/LegendHandlerConfig.java +++ b/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/main/java/org/finos/legend/engine/postgres/config/LegendHandlerConfig.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.postgres.config; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; -import com.fasterxml.jackson.annotation.JsonTypeInfo; import org.finos.legend.engine.postgres.SessionsFactory; import org.finos.legend.engine.postgres.handler.legend.LegendExecutionService; import org.finos.legend.engine.postgres.handler.legend.LegendHttpClient; diff --git a/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/main/java/org/finos/legend/engine/postgres/handler/legend/LegendResultSet.java b/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/main/java/org/finos/legend/engine/postgres/handler/legend/LegendResultSet.java index fbd5fec49ee..9a712b6a3e9 100644 --- a/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/main/java/org/finos/legend/engine/postgres/handler/legend/LegendResultSet.java +++ b/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/main/java/org/finos/legend/engine/postgres/handler/legend/LegendResultSet.java @@ -15,7 +15,6 @@ package org.finos.legend.engine.postgres.handler.legend; import com.google.common.base.Function; -import com.google.common.collect.Lists; import java.time.Instant; import java.time.LocalDate; import java.time.ZoneOffset; diff --git a/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/PostgresServerAsyncTest.java b/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/PostgresServerAsyncTest.java index 0579efd4108..d8d21bd000d 100644 --- a/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/PostgresServerAsyncTest.java +++ b/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/PostgresServerAsyncTest.java @@ -37,7 +37,6 @@ import org.finos.legend.engine.postgres.handler.legend.LegendExecutionService; import org.finos.legend.engine.postgres.handler.legend.LegendSessionFactory; import org.finos.legend.engine.postgres.handler.legend.LegendTdsTestClient; -import org.finos.legend.engine.postgres.utils.ErrorMessageFormatter; import org.finos.legend.engine.query.sql.api.execute.SqlExecuteTest; import org.junit.AfterClass; import org.junit.Assert; diff --git a/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/TestPostgresServerLauncher.java b/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/TestPostgresServerLauncher.java index a4015047140..ecf281ba2a0 100644 --- a/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/TestPostgresServerLauncher.java +++ b/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/TestPostgresServerLauncher.java @@ -14,13 +14,6 @@ package org.finos.legend.engine.postgres; -import com.fasterxml.jackson.databind.ObjectMapper; -import java.io.File; -import org.finos.legend.engine.postgres.auth.AuthenticationMethod; -import org.finos.legend.engine.postgres.config.ServerConfig; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.slf4j.bridge.SLF4JBridgeHandler; public class TestPostgresServerLauncher { diff --git a/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/config/TestServerConfig.java b/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/config/TestServerConfig.java index 5c450e31644..534edb6f11f 100644 --- a/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/config/TestServerConfig.java +++ b/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/config/TestServerConfig.java @@ -17,7 +17,6 @@ import com.fasterxml.jackson.databind.ObjectMapper; import java.io.File; import java.io.FileInputStream; -import org.finos.legend.engine.postgres.SessionsFactory; import org.finos.legend.engine.postgres.auth.AuthenticationMethodType; import org.finos.legend.engine.postgres.auth.IdentityType; import org.junit.Assert; diff --git a/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/handler/legend/LegendStaticClient.java b/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/handler/legend/LegendStaticClient.java index ed745753c9f..97145404e3a 100644 --- a/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/handler/legend/LegendStaticClient.java +++ b/legend-engine-xts-sql/legend-engine-xt-sql-postgres-server/src/test/java/org/finos/legend/engine/postgres/handler/legend/LegendStaticClient.java @@ -17,8 +17,6 @@ import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Paths; -import java.sql.SQLOutput; -import org.finos.legend.engine.postgres.PostgresWireProtocol; import org.slf4j.Logger; public class LegendStaticClient implements LegendClient diff --git a/legend-engine-xts-text/legend-engine-xt-text-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestTextGrammarParser.java b/legend-engine-xts-text/legend-engine-xt-text-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestTextGrammarParser.java index 399e0e56d14..6114a027b49 100644 --- a/legend-engine-xts-text/legend-engine-xt-text-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestTextGrammarParser.java +++ b/legend-engine-xts-text/legend-engine-xt-text-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestTextGrammarParser.java @@ -17,7 +17,6 @@ import org.antlr.v4.runtime.Vocabulary; import org.eclipse.collections.impl.list.mutable.ListAdapter; import org.finos.legend.engine.language.pure.grammar.from.antlr4.TextParserGrammar; -import org.finos.legend.engine.language.pure.grammar.test.TestGrammarParser; import org.junit.Test; import java.util.List; diff --git a/legend-engine-xts-text/legend-engine-xt-text-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestTextGrammarRoundtrip.java b/legend-engine-xts-text/legend-engine-xt-text-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestTextGrammarRoundtrip.java index bf27d2bf3b2..a215284f979 100644 --- a/legend-engine-xts-text/legend-engine-xt-text-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestTextGrammarRoundtrip.java +++ b/legend-engine-xts-text/legend-engine-xt-text-grammar/src/test/java/org/finos/legend/engine/language/pure/grammar/test/TestTextGrammarRoundtrip.java @@ -14,7 +14,6 @@ package org.finos.legend.engine.language.pure.grammar.test; -import org.finos.legend.engine.language.pure.grammar.test.TestGrammarRoundtrip; import org.junit.Test; public class TestTextGrammarRoundtrip extends TestGrammarRoundtrip.TestGrammarRoundtripTestSuite diff --git a/legend-engine-xts-xml/legend-engine-xt-xml-model/src/main/java/org/finos/legend/engine/external/format/xsd/compile/XsdCompiler.java b/legend-engine-xts-xml/legend-engine-xt-xml-model/src/main/java/org/finos/legend/engine/external/format/xsd/compile/XsdCompiler.java index b49a9bec06c..dab2df0eea2 100644 --- a/legend-engine-xts-xml/legend-engine-xt-xml-model/src/main/java/org/finos/legend/engine/external/format/xsd/compile/XsdCompiler.java +++ b/legend-engine-xts-xml/legend-engine-xt-xml-model/src/main/java/org/finos/legend/engine/external/format/xsd/compile/XsdCompiler.java @@ -62,7 +62,6 @@ import org.finos.legend.engine.external.format.xsd.compile.parseTree.visit.XsdObjectVisitor; import org.finos.legend.engine.external.shared.format.model.compile.ExternalSchemaCompileContext; import org.finos.legend.engine.external.shared.format.model.compile.ExternalFormatSchemaException; -import org.finos.legend.engine.language.pure.compiler.toPureGraph.CompileContext; import org.finos.legend.pure.generated.Root_meta_external_format_xml_metamodel_xml_QName; import org.finos.legend.pure.generated.Root_meta_external_format_xml_metamodel_xml_QName_Impl; import org.finos.legend.pure.generated.Root_meta_external_format_xml_metamodel_xsd_XsdAll; diff --git a/legend-engine-xts-xml/legend-engine-xt-xml-runtime/src/main/java/org/finos/legend/engine/external/format/xml/read/handlers/Element.java b/legend-engine-xts-xml/legend-engine-xt-xml-runtime/src/main/java/org/finos/legend/engine/external/format/xml/read/handlers/Element.java index 14f4f44744e..41cffdd1fa9 100644 --- a/legend-engine-xts-xml/legend-engine-xt-xml-runtime/src/main/java/org/finos/legend/engine/external/format/xml/read/handlers/Element.java +++ b/legend-engine-xts-xml/legend-engine-xt-xml-runtime/src/main/java/org/finos/legend/engine/external/format/xml/read/handlers/Element.java @@ -19,7 +19,6 @@ import org.finos.legend.engine.external.format.xml.read.DeserializeContext; import org.finos.legend.engine.external.format.xml.read.ReadHandler; import org.finos.legend.engine.external.format.xml.shared.XmlReader; -import org.finos.legend.engine.external.format.xml.shared.XmlUtils; import org.finos.legend.engine.external.shared.runtime.dependencies.ExternalDataObjectAdder; import org.finos.legend.engine.external.shared.runtime.dependencies.IExternalDataFactory;