Its good this time i swear
@@ -272,7 +272,7 @@ public class Dataset extends Controller {
public static Promise<Result> updateExportPolicy(String datasetUrn) {
final String username = session("user");
- final DatasetExportPolicy exportPolicy = new DatasetExportPolicy()
+ final DatasetExportPolicy exportPolicy = new DatasetExportPolicy();
if (StringUtils.isBlank(username)) {
return Promise.promise(() -> unauthorized(_EMPTY_RESPONSE));
@@ -282,7 +282,7 @@ public class Dataset extends Controller {
JsonNode requestBody = request().body().asJson();
exportPolicy.setContainsUserGeneratedContent(requestBody.get("containsUserGeneratedContent").asBoolean());
exportPolicy.setContainsUserActionGeneratedContent(requestBody.get("containsUserActionGeneratedContent").asBoolean());
- exportPolicy.setContainsUserDerivedContent(requestBody.get("setContainsUserDerivedContent").asBoolean())
+ exportPolicy.setContainsUserDerivedContent(requestBody.get("setContainsUserDerivedContent").asBoolean());
EXPORT_POLICY_DAO.updateDatasetExportPolicy(datasetUrn, exportPolicy, username);
} catch (Exception e) {
