Skip to content

Commit

Permalink
Updated ElytronXmlParser#parseLocalKerberos to use isEmpty() instead …
Browse files Browse the repository at this point in the history
…of size()
  • Loading branch information
Samith10 committed Oct 4, 2024
1 parent 82d05c2 commit 01c82e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3466,7 +3466,7 @@ static CredentialSource parseLocalKerberos(ConfigurationXMLStreamReader reader)
default: throw reader.unexpectedAttribute(i);
}
}
if (mechanismOids.size() == 0) {
if (mechanismOids.isEmpty()) {
mechanismOids.add(GSSCredentialSecurityFactory.KERBEROS_V5);
mechanismOids.add(GSSCredentialSecurityFactory.SPNEGO);
}
Expand Down

0 comments on commit 01c82e5

Please sign in to comment.