Remove unnecessary deprecation SuppressWarnings
Change-Id: I94eed0d97d9c3137b128a79b7e6e5e8ca00913a3
Reviewed-on: https://asterix-gerrit.ics.uci.edu/618
Reviewed-by: Till Westmann <tillw@apache.org>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
diff --git a/asterix-app/src/test/java/org/apache/asterix/api/http/servlet/ConnectorAPIServletTest.java b/asterix-app/src/test/java/org/apache/asterix/api/http/servlet/ConnectorAPIServletTest.java
index e950da5..1625c2b 100644
--- a/asterix-app/src/test/java/org/apache/asterix/api/http/servlet/ConnectorAPIServletTest.java
+++ b/asterix-app/src/test/java/org/apache/asterix/api/http/servlet/ConnectorAPIServletTest.java
@@ -36,8 +36,6 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-import junit.extensions.PA;
-
import org.apache.asterix.feed.CentralFeedManager;
import org.apache.asterix.metadata.MetadataManager;
import org.apache.asterix.metadata.MetadataTransactionContext;
@@ -58,7 +56,8 @@
import org.junit.Assert;
import org.junit.Test;
-@SuppressWarnings("deprecation")
+import junit.extensions.PA;
+
public class ConnectorAPIServletTest {
@Test
diff --git a/asterix-app/src/test/java/org/apache/asterix/api/http/servlet/VersionAPIServletTest.java b/asterix-app/src/test/java/org/apache/asterix/api/http/servlet/VersionAPIServletTest.java
index cf9665b..120fdfd 100644
--- a/asterix-app/src/test/java/org/apache/asterix/api/http/servlet/VersionAPIServletTest.java
+++ b/asterix-app/src/test/java/org/apache/asterix/api/http/servlet/VersionAPIServletTest.java
@@ -44,7 +44,6 @@
import org.junit.Assert;
import org.junit.Test;
-@SuppressWarnings("deprecation")
public class VersionAPIServletTest {
@Test
diff --git a/asterix-app/src/test/java/org/apache/asterix/aql/translator/QueryTranslatorTest.java b/asterix-app/src/test/java/org/apache/asterix/aql/translator/QueryTranslatorTest.java
index a397875..532cea9 100644
--- a/asterix-app/src/test/java/org/apache/asterix/aql/translator/QueryTranslatorTest.java
+++ b/asterix-app/src/test/java/org/apache/asterix/aql/translator/QueryTranslatorTest.java
@@ -28,8 +28,6 @@
import java.util.Arrays;
import java.util.List;
-import junit.extensions.PA;
-
import org.apache.asterix.api.common.SessionConfig;
import org.apache.asterix.common.config.AsterixExternalProperties;
import org.apache.asterix.compiler.provider.AqlCompilationProvider;
@@ -42,7 +40,9 @@
import org.junit.Assert;
import org.junit.Test;
-@SuppressWarnings({ "unchecked", "deprecation" })
+import junit.extensions.PA;
+
+@SuppressWarnings({ "unchecked" })
public class QueryTranslatorTest {
@Test
diff --git a/asterix-om/src/test/java/org/apache/asterix/om/util/JSONDeserializerForTypesTest.java b/asterix-om/src/test/java/org/apache/asterix/om/util/JSONDeserializerForTypesTest.java
index 2993b87..a0a5c5f 100644
--- a/asterix-om/src/test/java/org/apache/asterix/om/util/JSONDeserializerForTypesTest.java
+++ b/asterix-om/src/test/java/org/apache/asterix/om/util/JSONDeserializerForTypesTest.java
@@ -31,7 +31,6 @@
import org.junit.Assert;
import org.junit.Test;
-@SuppressWarnings("deprecation")
public class JSONDeserializerForTypesTest {
@Test