This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects

Resolve "Fixing Problem with duplicate Entry in Statistics"

@@ -151,7 +151,9 @@ public class ElasticSearchManagementResource {
.noContent()
.headers(HeaderUtil.createEntityDeletionAlert(APPLICATION_NAME, true, ENTITY_NAME, exerciseIdString))
.build();
} else return ResponseEntity.notFound().build();
} else {
return ResponseEntity.notFound().build();
}
} catch (IOException e) {
log.error("Cannot delete {}", exerciseIdString, e);
return ResponseEntity.internalServerError().build();