浏览代码

Deprecation warning suppression for UserMap.

Luke Taylor 15 年之前
父节点
当前提交
21a664b2eb

+ 1 - 0
core/src/main/java/org/springframework/security/core/userdetails/memory/UserMapEditor.java

@@ -41,6 +41,7 @@ import java.util.Properties;
  *
  * @author Ben Alex
  */
+@SuppressWarnings("deprecation")
 public class UserMapEditor extends PropertyEditorSupport {
     //~ Methods ========================================================================================================
 

+ 1 - 0
core/src/test/java/org/springframework/security/core/userdetails/memory/UserMapEditorTests.java

@@ -27,6 +27,7 @@ import org.springframework.security.core.userdetails.memory.UserMapEditor;
  *
  * @author Ben Alex
  */
+@SuppressWarnings("deprecation")
 public class UserMapEditorTests extends TestCase {
     //~ Constructors ===================================================================================================
 

+ 1 - 0
core/src/test/java/org/springframework/security/core/userdetails/memory/UserMapTests.java

@@ -29,6 +29,7 @@ import org.springframework.security.core.userdetails.UsernameNotFoundException;
  *
  * @author Ben Alex
  */
+@SuppressWarnings("deprecation")
 public class UserMapTests {
 
     @Test

+ 1 - 0
web/src/test/java/org/springframework/security/web/authentication/www/DigestAuthenticationFilterTests.java

@@ -51,6 +51,7 @@ import org.springframework.util.StringUtils;
  * @author Ben Alex
  * @author Luke Taylor
  */
+@SuppressWarnings("deprecation")
 public class DigestAuthenticationFilterTests {
     //~ Static fields/initializers =====================================================================================