geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [11/13] incubator-geode git commit: no more warnings
Date Fri, 16 Oct 2015 23:52:57 GMT
no more warnings


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

Branch: refs/heads/feature/GEODE-417
Commit: b0508aec6580c254b5aacaa68a79ccaf36e738c5
Parents: 738551a
Author: Darrel Schneider <dschneider@pivotal.io>
Authored: Fri Oct 9 09:26:08 2015 -0700
Committer: Darrel Schneider <dschneider@pivotal.io>
Committed: Fri Oct 16 16:44:56 2015 -0700

----------------------------------------------------------------------
 .../java/com/gemstone/gemfire/internal/SSLConfigJUnitTest.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/b0508aec/gemfire-core/src/test/java/com/gemstone/gemfire/internal/SSLConfigJUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/SSLConfigJUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/SSLConfigJUnitTest.java
index 656deee..908b710 100755
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/SSLConfigJUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/SSLConfigJUnitTest.java
@@ -597,6 +597,7 @@ public class SSLConfigJUnitTest {
   
 
   @Test
+  @SuppressWarnings("deprecation")
   public void testManagerConfig() throws Exception {
     boolean sslenabled = false;
     String  sslprotocols = "any";
@@ -613,7 +614,7 @@ public class SSLConfigJUnitTest {
     gemFireProps.put(DistributionConfig.JMX_MANAGER_SSL_NAME, "true");
     gemFireProps.put(DistributionConfig.JMX_MANAGER_SSL_ENABLED_NAME, "false");
     try{
-      DistributionConfigImpl config = new DistributionConfigImpl( gemFireProps );
+      new DistributionConfigImpl( gemFireProps );
       fail("Expected IllegalArgumentException");
     }catch(IllegalArgumentException e){
       if (! e.toString().contains( "Gemfire property \'jmx-manager-ssl\' and \'jmx-manager-ssl-enabled\'
can not be used at the same time")) {
@@ -725,6 +726,7 @@ public class SSLConfigJUnitTest {
   }
   
   @Test
+  @SuppressWarnings("deprecation")
   public void testCustomizedClusterSslConfig() throws Exception {
     
     boolean sslenabled = true;


Mime
View raw message