Przeglądaj źródła

Added warning suppression for deprecation.

Luke Taylor 16 lat temu
rodzic
commit
585e5f393a

+ 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;