From f8e8c4f7ee8ca57906f1051bd2afcddf4dc55bb2 Mon Sep 17 00:00:00 2001 From: Philip Durbin Date: Tue, 13 Aug 2024 13:49:10 -0400 Subject: [PATCH] remove deprecation notice from default constructor #10517 --- .../edu/harvard/iq/dataverse/dataset/DatasetType.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/main/java/edu/harvard/iq/dataverse/dataset/DatasetType.java b/src/main/java/edu/harvard/iq/dataverse/dataset/DatasetType.java index 962799257dc..f0977b0fa22 100644 --- a/src/main/java/edu/harvard/iq/dataverse/dataset/DatasetType.java +++ b/src/main/java/edu/harvard/iq/dataverse/dataset/DatasetType.java @@ -40,17 +40,6 @@ public class DatasetType implements Serializable { @Column(nullable = false) private String name; - /** - * This default constructor is only here to prevent this error at - * deployment: - * - * Exception Description: The instance creation method - * [...DatasetType.], with no parameters, does not - * exist, or is not accessible - * - * Don't use it. - */ - @Deprecated public DatasetType() { }