Skip to content

Commit

Permalink
refactor: Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
tenthe committed May 6, 2024
1 parent 0bbe0d3 commit 7117ef6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public ResponseEntity<DataExplorerWidgetModel> getDataExplorerWidget(@PathVariab
path = "/{widgetId}",
consumes = MediaType.APPLICATION_JSON_VALUE,
produces = MediaType.APPLICATION_JSON_VALUE)
@PreAuthorize(AuthConstants.HAS_WRITE_DATA_EXPLORER_PRIVILEGE +
" AND hasPermission(#dataExplorerWidgetModel.widgetId, '')")
@PreAuthorize(AuthConstants.HAS_WRITE_DATA_EXPLORER_PRIVILEGE
+ " AND hasPermission(#dataExplorerWidgetModel.widgetId, '')")
public ResponseEntity<DataExplorerWidgetModel> modifyDataExplorerWidget(
@RequestBody DataExplorerWidgetModel dataExplorerWidgetModel
) {
Expand All @@ -79,8 +79,8 @@ public ResponseEntity<Void> deleteDataExplorerWidget(@PathVariable("widgetId") S
produces = MediaType.APPLICATION_JSON_VALUE,
consumes = MediaType.APPLICATION_JSON_VALUE
)
@PreAuthorize(AuthConstants.HAS_WRITE_DATA_EXPLORER_PRIVILEGE +
" AND hasPermission(#dataExplorerWidgetModel.widgetId, '')")
@PreAuthorize(AuthConstants.HAS_WRITE_DATA_EXPLORER_PRIVILEGE
+ " AND hasPermission(#dataExplorerWidgetModel.widgetId, '')")
public ResponseEntity<DataExplorerWidgetModel> createDataExplorerWidget(
@RequestBody DataExplorerWidgetModel dataExplorerWidgetModel
) {
Expand Down

0 comments on commit 7117ef6

Please sign in to comment.