This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void foo() | |
{ | |
// The test adds following things : | |
// 1. Adds three property KVs (prop1, goA), (prop2, goB), (prop3, goA) | |
// 2. Adds two options for Gogo.class in separate modules : GoA and GoB which have binding keys as 'goA' and 'goB' | |
// 3. Adds three choices for Gogo.class in separate modules which correspond to the three properties | |
// 4. checks via injector that first and third choice create GoA instances whereas choice second creates GoB instance | |
props = new Properties(); | |
props.setProperty("prop1", "goA"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/hadoop-tools/hadoop-azure-datalake/src/main/java/org/apache/hadoop/fs/adl/AdlConfKeys.java b/hadoop-tools/hadoop-azure-datalake/src/main/java/org/apache/hadoop/fs/adl/AdlConfKeys.java | |
index 790902c6229..afbafd668d8 100644 | |
--- a/hadoop-tools/hadoop-azure-datalake/src/main/java/org/apache/hadoop/fs/adl/AdlConfKeys.java | |
+++ b/hadoop-tools/hadoop-azure-datalake/src/main/java/org/apache/hadoop/fs/adl/AdlConfKeys.java | |
@@ -23,6 +23,10 @@ | |
import org.apache.hadoop.conf.Configuration; | |
import org.apache.hadoop.conf.Configuration.DeprecationDelta; | |
+import java.util.ArrayList; | |
+import java.util.HashMap; |