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

Commit

Permalink
Fix mistake of not checking at all
Browse files Browse the repository at this point in the history
  • Loading branch information
ferbncode committed Aug 9, 2019
1 parent 44fd514 commit e7de87b
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,6 @@ public void validateAuthorization(final Resource oldValue, final Resource newVal
throw new UnableProcessException(
"Changing authorization object to `null` is not possible due to existing one");
}

if (oldAuth != null) {
return;
}

validateAuthorization(newValue);
}
}

0 comments on commit e7de87b

Please sign in to comment.