fluo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject incubator-fluo-recipes git commit: Fix small compiler warning in IT
Date Thu, 20 Oct 2016 22:08:03 GMT
Repository: incubator-fluo-recipes
Updated Branches:
  refs/heads/master 5279878bc -> e1d0aa796


Fix small compiler warning in IT

Make use of resource inside of try-with-resources block by ensuring it's
not null.


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

Branch: refs/heads/master
Commit: e1d0aa7964dcd441361a537a6595c773b42b8cfb
Parents: 5279878
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Thu Oct 20 18:04:12 2016 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Thu Oct 20 18:04:12 2016 -0400

----------------------------------------------------------------------
 .../java/org/apache/fluo/recipes/spark/it/FluoSparkHelperIT.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fluo-recipes/blob/e1d0aa79/modules/spark/src/test/java/org/apache/fluo/recipes/spark/it/FluoSparkHelperIT.java
----------------------------------------------------------------------
diff --git a/modules/spark/src/test/java/org/apache/fluo/recipes/spark/it/FluoSparkHelperIT.java
b/modules/spark/src/test/java/org/apache/fluo/recipes/spark/it/FluoSparkHelperIT.java
index c2d512d..018e9f4 100644
--- a/modules/spark/src/test/java/org/apache/fluo/recipes/spark/it/FluoSparkHelperIT.java
+++ b/modules/spark/src/test/java/org/apache/fluo/recipes/spark/it/FluoSparkHelperIT.java
@@ -75,6 +75,7 @@ public class FluoSparkHelperIT extends AccumuloExportITBase {
         new FluoSparkHelper.BulkImportOptions());
 
     try (MiniFluo miniFluo = FluoFactory.newMiniFluo(getFluoConfiguration())) {
+      Assert.assertNotNull(miniFluo);
       Assert.assertTrue(FluoITHelper.verifyFluoTable(getFluoConfiguration(), expected));
 
       List<RowColumnValue> actualRead = FluoSparkHelper.toRcvRDD(fsh.readFromFluo(ctx)).collect();


Mime
View raw message