fluo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject incubator-fluo git commit: fixed some warnings
Date Fri, 21 Apr 2017 16:49:35 GMT
Repository: incubator-fluo
Updated Branches:
  refs/heads/master 3da76dcf0 -> 73739fa28


fixed some warnings


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

Branch: refs/heads/master
Commit: 73739fa28d3a71c4ddf4ce8374bf1dfecb169470
Parents: 3da76dc
Author: Keith Turner <kturner@apache.org>
Authored: Fri Apr 21 11:31:01 2017 -0400
Committer: Keith Turner <kturner@apache.org>
Committed: Fri Apr 21 11:31:01 2017 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/fluo/api/config/SimpleConfiguration.java  | 2 +-
 .../test/java/org/apache/fluo/core/observer/ObserverStoreTest.java | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fluo/blob/73739fa2/modules/api/src/main/java/org/apache/fluo/api/config/SimpleConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/api/src/main/java/org/apache/fluo/api/config/SimpleConfiguration.java
b/modules/api/src/main/java/org/apache/fluo/api/config/SimpleConfiguration.java
index 545f761..aa4c1eb 100644
--- a/modules/api/src/main/java/org/apache/fluo/api/config/SimpleConfiguration.java
+++ b/modules/api/src/main/java/org/apache/fluo/api/config/SimpleConfiguration.java
@@ -247,7 +247,7 @@ public class SimpleConfiguration implements Serializable {
     Builder<String, String> builder = ImmutableMap.builder();
     Iterator<String> ki = getKeys();
     while (ki.hasNext()) {
-      String k = (String) ki.next();
+      String k = ki.next();
       builder.put(k, getRawString(k));
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-fluo/blob/73739fa2/modules/core/src/test/java/org/apache/fluo/core/observer/ObserverStoreTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/fluo/core/observer/ObserverStoreTest.java
b/modules/core/src/test/java/org/apache/fluo/core/observer/ObserverStoreTest.java
index 586d678..fd94a12 100644
--- a/modules/core/src/test/java/org/apache/fluo/core/observer/ObserverStoreTest.java
+++ b/modules/core/src/test/java/org/apache/fluo/core/observer/ObserverStoreTest.java
@@ -22,6 +22,7 @@ import org.apache.fluo.core.observer.v2.ObserverStoreV2;
 import org.junit.Assert;
 import org.junit.Test;
 
+@SuppressWarnings("deprecation")
 public class ObserverStoreTest {
 
   @Test


Mime
View raw message