accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [accumulo] branch 1.9 updated: Fix warnings by adding missing generic types
Date Tue, 04 Dec 2018 03:28:30 GMT
This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch 1.9
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/1.9 by this push:
     new a5e341c  Fix warnings by adding missing generic types
a5e341c is described below

commit a5e341c89141024c026e4f70a39ee8aba941a54a
Author: Christopher Tubbs <ctubbsii@apache.org>
AuthorDate: Mon Dec 3 22:03:27 2018 -0500

    Fix warnings by adding missing generic types
---
 .../accumulo/core/client/ClientConfiguration.java       | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/core/src/main/java/org/apache/accumulo/core/client/ClientConfiguration.java b/core/src/main/java/org/apache/accumulo/core/client/ClientConfiguration.java
index 250bcd4..1651133 100644
--- a/core/src/main/java/org/apache/accumulo/core/client/ClientConfiguration.java
+++ b/core/src/main/java/org/apache/accumulo/core/client/ClientConfiguration.java
@@ -1038,9 +1038,8 @@ public class ClientConfiguration extends CompositeConfiguration {
    *             Accumulo API
    */
   @Deprecated
-  @SuppressWarnings("rawtypes")
   @Override
-  public Collection getConfigurationListeners() {
+  public Collection<ConfigurationListener> getConfigurationListeners() {
     return super.getConfigurationListeners();
   }
 
@@ -1079,9 +1078,8 @@ public class ClientConfiguration extends CompositeConfiguration {
    *             Accumulo API
    */
   @Deprecated
-  @SuppressWarnings("rawtypes")
   @Override
-  public Collection getErrorListeners() {
+  public Collection<ConfigurationErrorListener> getErrorListeners() {
     return super.getErrorListeners();
   }
 
@@ -1145,7 +1143,6 @@ public class ClientConfiguration extends CompositeConfiguration {
     return super.getInteger(key, defaultValue);
   }
 
-  @SuppressWarnings("unchecked")
   @Override
   public Iterator<String> getKeys() {
     return super.getKeys();
@@ -1156,7 +1153,6 @@ public class ClientConfiguration extends CompositeConfiguration {
    *             Accumulo API
    */
   @Deprecated
-  @SuppressWarnings("unchecked")
   @Override
   public Iterator<String> getKeys(String key) {
     return super.getKeys(key);
@@ -1167,9 +1163,8 @@ public class ClientConfiguration extends CompositeConfiguration {
    *             Accumulo API
    */
   @Deprecated
-  @SuppressWarnings("rawtypes")
   @Override
-  public List getList(String key) {
+  public List<Object> getList(String key) {
     return super.getList(key);
   }
 
@@ -1178,9 +1173,8 @@ public class ClientConfiguration extends CompositeConfiguration {
    *             Accumulo API
    */
   @Deprecated
-  @SuppressWarnings("rawtypes")
   @Override
-  public List getList(String key, List defaultValue) {
+  public List<Object> getList(String key, List<?> defaultValue) {
     return super.getList(key, defaultValue);
   }
 
@@ -1344,9 +1338,8 @@ public class ClientConfiguration extends CompositeConfiguration {
    *             Accumulo API
    */
   @Deprecated
-  @SuppressWarnings("rawtypes")
   @Override
-  protected String interpolateHelper(String base, List priorVariables) {
+  protected String interpolateHelper(String base, List<?> priorVariables) {
     return super.interpolateHelper(base, priorVariables);
   }
 


Mime
View raw message