From c2d6f8a2c85788eb3fe2d20c40c430c532fe22fe Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 15 Jun 2012 14:32:35 +0000 Subject: [PATCH] remove animal sniffer we are now 1.6 git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1350638 13f79535-47bb-0310-9956-ffa450edef68 --- pom.xml | 31 ------------------- .../ldap/connection/LdapConnection.java | 4 --- 2 files changed, 35 deletions(-) diff --git a/pom.xml b/pom.xml index 757999e4..542cd599 100644 --- a/pom.xml +++ b/pom.xml @@ -760,15 +760,6 @@ - - - - org.jvnet - animal-sniffer-annotation - 1.0 - true - - @@ -846,28 +837,6 @@ - - - org.codehaus.mojo - animal-sniffer-maven-plugin - 1.8 - - - org.codehaus.mojo.signature - java15 - 1.0 - - - - - check-java-1.5-compat - process-classes - - check - - - - diff --git a/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/LdapConnection.java b/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/LdapConnection.java index 1d64074b..c80bc47b 100644 --- a/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/LdapConnection.java +++ b/redback-common/redback-common-ldap/src/main/java/org/apache/archiva/redback/common/ldap/connection/LdapConnection.java @@ -20,7 +20,6 @@ package org.apache.archiva.redback.common.ldap.connection; */ import com.sun.jndi.ldap.LdapCtxFactory; -import org.jvnet.animal_sniffer.IgnoreJRERequirement; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -60,13 +59,11 @@ public class LdapConnection private List baseDnRdns; - @IgnoreJRERequirement private static void initCtxFactory() { ctxFactory = new LdapCtxFactory(); } - @IgnoreJRERequirement public LdapConnection( LdapConnectionConfiguration config, Rdn subRdn ) throws LdapException { @@ -107,7 +104,6 @@ public class LdapConnection * @param password * @throws LdapException */ - @IgnoreJRERequirement public LdapConnection( LdapConnectionConfiguration config, String bindDn, String password ) throws LdapException {