From 876c88faedfab470180f419359ad0e60fcf2c6db Mon Sep 17 00:00:00 2001 From: cramakri <cramakri> Date: Mon, 4 Jun 2012 13:07:55 +0000 Subject: [PATCH] MINOR Reintroduced suppresswarnings annotations SVN: 25535 --- .../systemsx/cisd/authentication/ldap/LDAPPrincipalQuery.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/authentication/source/java/ch/systemsx/cisd/authentication/ldap/LDAPPrincipalQuery.java b/authentication/source/java/ch/systemsx/cisd/authentication/ldap/LDAPPrincipalQuery.java index ecdeae05044..dce29c12071 100644 --- a/authentication/source/java/ch/systemsx/cisd/authentication/ldap/LDAPPrincipalQuery.java +++ b/authentication/source/java/ch/systemsx/cisd/authentication/ldap/LDAPPrincipalQuery.java @@ -271,6 +271,7 @@ public final class LDAPPrincipalQuery implements ISelfTestable * usually a big performance boost. * @return The list of principals matching the query */ + @SuppressWarnings("null") public List<Principal> listPrincipalsByKeyValue(String key, String value, Collection<String> additionalAttributesOrNull, int limit) { @@ -372,6 +373,7 @@ public final class LDAPPrincipalQuery implements ISelfTestable config.getSecurityPrincipalPassword(), true); } + @SuppressWarnings("null") private DirContext createContextForDistinguishedName(String dn, String password, boolean useThreadContext) throws NamingException { -- GitLab