Skip to content
Snippets Groups Projects
Commit 876c88fa authored by cramakri's avatar cramakri
Browse files

MINOR Reintroduced suppresswarnings annotations

SVN: 25535
parent 4b0da559
No related branches found
No related tags found
No related merge requests found
...@@ -271,6 +271,7 @@ public final class LDAPPrincipalQuery implements ISelfTestable ...@@ -271,6 +271,7 @@ public final class LDAPPrincipalQuery implements ISelfTestable
* usually a big performance boost. * usually a big performance boost.
* @return The list of principals matching the query * @return The list of principals matching the query
*/ */
@SuppressWarnings("null")
public List<Principal> listPrincipalsByKeyValue(String key, String value, public List<Principal> listPrincipalsByKeyValue(String key, String value,
Collection<String> additionalAttributesOrNull, int limit) Collection<String> additionalAttributesOrNull, int limit)
{ {
...@@ -372,6 +373,7 @@ public final class LDAPPrincipalQuery implements ISelfTestable ...@@ -372,6 +373,7 @@ public final class LDAPPrincipalQuery implements ISelfTestable
config.getSecurityPrincipalPassword(), true); config.getSecurityPrincipalPassword(), true);
} }
@SuppressWarnings("null")
private DirContext createContextForDistinguishedName(String dn, String password, private DirContext createContextForDistinguishedName(String dn, String password,
boolean useThreadContext) throws NamingException boolean useThreadContext) throws NamingException
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment