Skip to content

Commit

Permalink
JENKINS-73941 - Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jesse Glick <[email protected]>
  • Loading branch information
jgarciacloudbees and jglick authored Nov 4, 2024
1 parent aa0f5bf commit d22f9ce
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1359,8 +1359,6 @@ public static <T> boolean shouldHideSandbox(@CheckForNull T instance, Predicate<
* It will confirm if the current user can persist the information in case the sandbox flag is disabled.
* It depends on {@link #isForceSandboxForCurrentUser}
* In case the current user can't save it will raise a new {@link Descriptor.FormException}
* @param sandbox
* @throws Descriptor.FormException
*/
public static void validateSandbox(boolean sandbox) throws Descriptor.FormException{
if (!sandbox && get().isForceSandboxForCurrentUser()) {
Expand Down

0 comments on commit d22f9ce

Please sign in to comment.