Skip to content

Commit

Permalink
Einrückungen, Unused Imports
Browse files Browse the repository at this point in the history
  • Loading branch information
commel committed Feb 22, 2024
1 parent 44d5f2c commit 5b93487
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/main/java/de/holarse/auth/api/ApiPrincipal.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public ApiPrincipal(final ApiUser user) {
this.user = user;
}



@Override
public Collection<? extends GrantedAuthority> getAuthorities() {
Set<GrantedAuthority> roles = new HashSet<>();
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/de/holarse/auth/web/HolarsePrincipal.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class HolarsePrincipal implements UserDetails {
private final User user;

public HolarsePrincipal(final User user) {
this.user = user;
this.user = user;
}

@Override
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/de/holarse/web/controller/WikiController.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,13 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Pageable;
import org.springframework.data.web.PageableDefault;
import org.springframework.http.HttpStatus;
import org.springframework.http.HttpStatusCode;
import org.springframework.jms.core.JmsTemplate;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

Expand Down

0 comments on commit 5b93487

Please sign in to comment.