bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject [3/5] bigtop git commit: ODPI-140 - Fix warnings due to string cast to object (#67)
Date Wed, 22 Mar 2017 06:02:57 GMT
ODPI-140 - Fix warnings due to string cast to object (#67)


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

Branch: refs/heads/master
Commit: 515c607425ad0606621d60165eba44baece61e85
Parents: 5c0dc2a
Author: John Mertic <jmertic@gmail.com>
Authored: Fri Jun 3 19:06:39 2016 -0400
Committer: Roman Shaposhnik <rvs@apache.org>
Committed: Tue Mar 21 23:01:18 2017 -0700

----------------------------------------------------------------------
 .../main/groovy/org/apache/bigtop/itest/hadoop/hcfs/TestCLI.java   | 2 +-
 .../groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSCLI.java     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/515c6074/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hcfs/TestCLI.java
----------------------------------------------------------------------
diff --git a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hcfs/TestCLI.java
b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hcfs/TestCLI.java
index 8de9b30..be673de 100644
--- a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hcfs/TestCLI.java
+++ b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hcfs/TestCLI.java
@@ -71,7 +71,7 @@ public class TestCLI extends CLITestHelper {
         "hadoop fs -mkdir -p " + TEST_DIR_ABSOLUTE,
         "hadoop fs -chmod 777 " + TEST_DIR_ABSOLUTE
     };
-    shHDFS.exec(createTestcliDirCmds);
+    shHDFS.exec((Object[])createTestcliDirCmds);
 
     // Check assumptions which would make some cases fail if not met
     Assert.assertEquals("Creation of testcli dir should succeed and return 0"

http://git-wip-us.apache.org/repos/asf/bigtop/blob/515c6074/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSCLI.java
----------------------------------------------------------------------
diff --git a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSCLI.java
b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSCLI.java
index 63d4232..9959f70 100644
--- a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSCLI.java
+++ b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSCLI.java
@@ -58,7 +58,7 @@ public class TestDFSCLI extends TestHDFSCLI {
         "hadoop fs -mkdir -p " + TEST_DIR_ABSOLUTE,
         "hadoop fs -chmod 777 " + TEST_DIR_ABSOLUTE
     };
-    shHDFS.exec(createTestcliDirCmds);
+    shHDFS.exec((Object[])createTestcliDirCmds);
 
     // Check assumptions which would make some cases fail if not met
     Assert.assertEquals("Creation of testcli dir should succeed and return 0"


Mime
View raw message