Skip to content
This repository was archived by the owner on May 11, 2018. It is now read-only.

Commit 4cab835

Browse files
committed
Remove unnecessary modifier, semi-colon and Type specification.
1 parent a7a7d48 commit 4cab835

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/javax/security/enterprise/identitystore/CredentialValidationResult.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public enum Status {
8383
* Indicates that the credential is valid after a validation attempt.
8484
*/
8585
VALID
86-
};
86+
}
8787

8888
/**
8989
* Constructor for any result other than VALID.
@@ -188,7 +188,7 @@ private CredentialValidationResult(Status status, String storeId,
188188
this.callerPrincipal = callerPrincipal;
189189
this.callerDn = callerDn;
190190
this.callerUniqueId = callerUniqueId;
191-
this.groups = groups != null ? unmodifiableSet(new HashSet<String>(groups)) : emptySet();
191+
this.groups = groups != null ? unmodifiableSet(new HashSet<>(groups)) : emptySet();
192192
}
193193

194194
/**

src/main/java/javax/security/enterprise/identitystore/IdentityStore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
*/
6868
public interface IdentityStore {
6969

70-
public static final Set<ValidationType> DEFAULT_VALIDATION_TYPES = EnumSet.of(VALIDATE, PROVIDE_GROUPS);
70+
Set<ValidationType> DEFAULT_VALIDATION_TYPES = EnumSet.of(VALIDATE, PROVIDE_GROUPS);
7171

7272
/**
7373
* Validates the given credential.

src/main/java/javax/security/enterprise/identitystore/LdapIdentityStoreDefinition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
/**
6767
* Enum representing LDAP search scope values.
6868
*/
69-
enum LdapSearchScope { ONE_LEVEL, SUBTREE };
69+
enum LdapSearchScope { ONE_LEVEL, SUBTREE }
7070

7171
/**
7272
* URL where the LDAP server can be reached.

0 commit comments

Comments
 (0)