Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
refactor UserFilter.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Mar 16, 2024
1 parent b0f78f0 commit d18ec74
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ public void userPermissionCheck(DefaultDocument document, String userEmail) {
}
}

public DefaultDocument checkUserAndDocument(User user, DefaultDocument document, Integer version) {
public void checkUserAndDocument(User user, DefaultDocument document, Integer version) {
userPermissionAndDocumentVersionCheck(document, user.getEmail(), version);
return document;
}

}

0 comments on commit d18ec74

Please sign in to comment.