diff --git a/src/main/java/edu/harvard/iq/dataverse/DatasetPage.java b/src/main/java/edu/harvard/iq/dataverse/DatasetPage.java index 38b209273a1..736b0f4c27a 100644 --- a/src/main/java/edu/harvard/iq/dataverse/DatasetPage.java +++ b/src/main/java/edu/harvard/iq/dataverse/DatasetPage.java @@ -2465,7 +2465,7 @@ public void edit(EditMode editMode) { clone = workingVersion.cloneDatasetVersion(); if (editMode == EditMode.INFO) { // ? - } else if (editMode == EditMode.FILE) {; + } else if (editMode == EditMode.FILE) { if(!hasValidTermsOfAccess){ this.editMode = EditMode.LICENSE; PrimeFaces.current().executeScript("PF('blockDatasetForm').show()");