Skip to content

Commit

Permalink
remove deprecation notice from default constructor #10517
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Aug 13, 2024
1 parent 200a45a commit f8e8c4f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/main/java/edu/harvard/iq/dataverse/dataset/DatasetType.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.<Default Constructor>], with no parameters, does not
* exist, or is not accessible
*
* Don't use it.
*/
@Deprecated
public DatasetType() {
}

Expand Down

0 comments on commit f8e8c4f

Please sign in to comment.