Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
JordenReuter committed Apr 17, 2024
1 parent 9a848af commit 937da15
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.tkit.onecx.workspace.domain.models.MenuItem;
import org.tkit.onecx.workspace.domain.models.Workspace;

import gen.org.tkit.onecx.workspace.rs.user.model.UserWorkspaceMenuItemDTO;
import gen.org.tkit.onecx.workspace.rs.user.model.UserWorkspaceMenuStructureDTO;
import org.tkit.onecx.workspace.domain.models.Workspace;

@Mapper
public interface UserMenuMapper {
Expand All @@ -23,7 +23,7 @@ default UserWorkspaceMenuStructureDTO empty(String workspaceName) {
}

default UserWorkspaceMenuStructureDTO mapTree(Workspace workspace, Collection<MenuItem> entities,
Map<String, Set<String>> mapping, Set<String> roles, Set<String> mappingKeys) {
Map<String, Set<String>> mapping, Set<String> roles, Set<String> mappingKeys) {
UserWorkspaceMenuStructureDTO dto = empty(workspace.getName());
if (entities.isEmpty()) {
return dto;
Expand Down

0 comments on commit 937da15

Please sign in to comment.