소스 검색

Added warning suppression for deprecation.

Luke Taylor 16 년 전
부모
커밋
585e5f393a
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      core/src/test/java/org/springframework/security/annotation/MethodDefinitionSourceEditorTigerTests.java

+ 2 - 3
core/src/test/java/org/springframework/security/annotation/MethodDefinitionSourceEditorTigerTests.java

@@ -15,12 +15,10 @@
 
 package org.springframework.security.annotation;
 
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
 
 import java.util.List;
 
-import junit.framework.TestCase;
-
 import org.junit.Before;
 import org.junit.Test;
 import org.springframework.security.ConfigAttribute;
@@ -39,6 +37,7 @@ import org.springframework.security.intercept.method.MockMethodInvocation;
  * @author Ben Alex
  * @version $Id$
  */
+@SuppressWarnings("deprecation")
 public class MethodDefinitionSourceEditorTigerTests {
     private MockMethodInvocation makeUpper;
     private MockMethodInvocation makeLower;