Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-41004] Remove effectively duplicate code
  • Loading branch information
stephenc committed Jan 26, 2017
1 parent 1b1ddb6 commit 4d93613
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -185,9 +185,6 @@ public <C extends IdCredentials> ListBoxModel getCredentialIds(@NonNull Class<C>
if (ACL.SYSTEM.equals(authentication)) {
while (itemGroup != null) {
if (itemGroup instanceof AbstractFolder) {
if (!((AbstractFolder) itemGroup).getACL().hasPermission(authentication, USE_ITEM)) {
continue;
}
final AbstractFolder<?> folder = AbstractFolder.class.cast(itemGroup);
FolderCredentialsProperty property = folder.getProperties().get(FolderCredentialsProperty.class);
if (property != null) {
Expand Down

0 comments on commit 4d93613

Please sign in to comment.