From 05946d7f371af5d28651f364bcbd480ebbc21e4f Mon Sep 17 00:00:00 2001 From: Ben Companjen Date: Sun, 4 Aug 2024 04:18:21 +0200 Subject: [PATCH] Import VersionState.* in FinalizeDatasetPubCommand --- .../engine/command/impl/FinalizeDatasetPublicationCommand.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/edu/harvard/iq/dataverse/engine/command/impl/FinalizeDatasetPublicationCommand.java b/src/main/java/edu/harvard/iq/dataverse/engine/command/impl/FinalizeDatasetPublicationCommand.java index 17322855143..3d9bdd87333 100644 --- a/src/main/java/edu/harvard/iq/dataverse/engine/command/impl/FinalizeDatasetPublicationCommand.java +++ b/src/main/java/edu/harvard/iq/dataverse/engine/command/impl/FinalizeDatasetPublicationCommand.java @@ -6,8 +6,7 @@ import edu.harvard.iq.dataverse.DatasetField; import edu.harvard.iq.dataverse.DatasetFieldConstant; import edu.harvard.iq.dataverse.DatasetLock; -import static edu.harvard.iq.dataverse.DatasetVersion.VersionState.RELEASED; -import static edu.harvard.iq.dataverse.DatasetVersion.VersionState.VersionState; +import static edu.harvard.iq.dataverse.DatasetVersion.VersionState.*; import edu.harvard.iq.dataverse.DatasetVersionUser; import edu.harvard.iq.dataverse.Dataverse; import edu.harvard.iq.dataverse.DvObject;