From: David Gageot Date: Fri, 25 May 2012 09:42:38 +0000 (+0200) Subject: Fix warnings X-Git-Tag: 3.1~63 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=71c59e55a48996931736ede8ad65592113cf51fc;p=sonarqube.git Fix warnings --- diff --git a/sonar-gwt-api/src/main/java/org/sonar/gwt/ui/Icons.java b/sonar-gwt-api/src/main/java/org/sonar/gwt/ui/Icons.java index 711fb0a171a..e703a69466c 100644 --- a/sonar-gwt-api/src/main/java/org/sonar/gwt/ui/Icons.java +++ b/sonar-gwt-api/src/main/java/org/sonar/gwt/ui/Icons.java @@ -81,6 +81,7 @@ public final class Icons { * @since 2.2 * @deprecated since 2.5 use {@link Icons#forSeverity(String)} */ + @Deprecated public static AbstractImagePrototype forPriority(final String priority) { return forSeverity(priority); } diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/security/LoginPasswordAuthenticator.java b/sonar-plugin-api/src/main/java/org/sonar/api/security/LoginPasswordAuthenticator.java index 2883275a24e..2ba3b7606c7 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/security/LoginPasswordAuthenticator.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/security/LoginPasswordAuthenticator.java @@ -26,6 +26,7 @@ import org.sonar.api.ServerExtension; * @see SecurityRealm * @deprecated replaced by Authenticator in version 3.1 */ +@Deprecated public interface LoginPasswordAuthenticator extends ServerExtension { /**