Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikriemer committed Oct 9, 2024
1 parent 8687117 commit 4909194
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
import org.apache.http.HttpStatus;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.security.access.prepost.PreAuthorize;
Expand Down Expand Up @@ -102,7 +103,8 @@ public ResponseEntity<? extends Message> addAdapter(@RequestBody AdapterDescript
SpMediaType.YML
})
@PreAuthorize(AuthConstants.HAS_WRITE_ADAPTER_PRIVILEGE)
public ResponseEntity<?> convertToCompactAdapter(@RequestBody AdapterDescription adapterDescription) throws Exception {
public ResponseEntity<?> convertToCompactAdapter(@RequestBody AdapterDescription adapterDescription)
throws Exception {
return ok(new CompactAdapterManagement(List.of()).convertToCompactAdapter(adapterDescription));
}

Expand Down

0 comments on commit 4909194

Please sign in to comment.