Repository: sqoop Updated Branches: refs/heads/trunk 5ccef5fd7 -> a4ee23524
SQOOP-3141: Fix Java7 compile issue (getTypeName is only available after Java 8) (Attila Szabo) Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/a4ee2352 Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/a4ee2352 Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/a4ee2352 Branch: refs/heads/trunk Commit: a4ee235243d6b9d1b517597c809b0a01575b1a73 Parents: 5ccef5f Author: Attila Szabo <[email protected]> Authored: Fri Feb 24 16:37:47 2017 +0100 Committer: Attila Szabo <[email protected]> Committed: Fri Feb 24 16:37:47 2017 +0100 ---------------------------------------------------------------------- src/test/org/apache/sqoop/util/TestFileSystemUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sqoop/blob/a4ee2352/src/test/org/apache/sqoop/util/TestFileSystemUtil.java ---------------------------------------------------------------------- diff --git a/src/test/org/apache/sqoop/util/TestFileSystemUtil.java b/src/test/org/apache/sqoop/util/TestFileSystemUtil.java index fef74af..28fb58c 100644 --- a/src/test/org/apache/sqoop/util/TestFileSystemUtil.java +++ b/src/test/org/apache/sqoop/util/TestFileSystemUtil.java @@ -33,7 +33,7 @@ public class TestFileSystemUtil { @Before public void setUp() { conf = new Configuration(); - conf.set("fs.my.impl", MyFileSystem.class.getTypeName()); + conf.set("fs.my.impl", MyFileSystem.class.getName()); } @Test
