Suppress warnings

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/e6ec0be3
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/e6ec0be3
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/e6ec0be3

Branch: refs/heads/master
Commit: e6ec0be3b8e022e6ffb732d35cdbca82e1b7b8da
Parents: 368bfb2
Author: Andy Seaborne <a...@apache.org>
Authored: Wed Oct 12 21:44:55 2016 +0100
Committer: Andy Seaborne <a...@apache.org>
Committed: Wed Oct 12 21:44:55 2016 +0100

----------------------------------------------------------------------
 .../src/test/java/org/apache/jena/fuseki/ServerTest.java      | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/e6ec0be3/jena-fuseki1/src/test/java/org/apache/jena/fuseki/ServerTest.java
----------------------------------------------------------------------
diff --git a/jena-fuseki1/src/test/java/org/apache/jena/fuseki/ServerTest.java 
b/jena-fuseki1/src/test/java/org/apache/jena/fuseki/ServerTest.java
index 5608421..baf5274 100644
--- a/jena-fuseki1/src/test/java/org/apache/jena/fuseki/ServerTest.java
+++ b/jena-fuseki1/src/test/java/org/apache/jena/fuseki/ServerTest.java
@@ -70,15 +70,12 @@ public class ServerTest
     public static final Model model1     = 
ModelFactory.createModelForGraph(graph1) ;
     public static final Model model2     = 
ModelFactory.createModelForGraph(graph2) ;
     
+    @SuppressWarnings("deprecation")
     private static EmbeddedFusekiServer1 server = null ;
     
     // reference count of start/stop server
     private static int countServer = 0 ; 
     
-    // This will cause there to be one server over all tests.
-    // Must be after initialization of counters 
-    //static { allocServer() ; }
-
     static public void allocServer()
     {
         if ( countServer == 0 )
@@ -95,6 +92,7 @@ public class ServerTest
         }
     }
     
+    @SuppressWarnings("deprecation")
     protected static void setupServer()
     {
         DatasetGraph dsg = DatasetGraphFactory.create() ;
@@ -102,6 +100,7 @@ public class ServerTest
         server.start() ;
     }
     
+    @SuppressWarnings("deprecation")
     protected static void teardownServer() {
         DatasetRegistry.get().clear() ;
         if ( server != null )

Reply via email to