GeezerVison is showing github.com — Fix raw type warning · TritonDataCenter/java-manta@3aaef4e
File tree
Expand file treeCollapse file tree
Open diff view settings
java-manta-examples/src/main/java
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: java-manta-examples/src/main/java/DynamicAuthentication.java +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
6 | 6 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
7 | 7 | */ |
8 | 8 |
|
9 | | -import com.joyent.manta.config.AuthAwareConfigContext; |
10 | 9 | import com.joyent.manta.client.MantaClient; |
| 10 | +import com.joyent.manta.config.AuthAwareConfigContext; |
| 11 | +import com.joyent.manta.config.BaseChainedConfigContext; |
11 | 12 | import com.joyent.manta.config.ChainedConfigContext; |
12 | 13 | import com.joyent.manta.config.DefaultsConfigContext; |
13 | | -import com.joyent.manta.config.SettableConfigContext; |
14 | 14 |
|
15 | 15 | import java.io.IOException; |
16 | 16 | import java.io.InputStream; |
@@ -22,7 +22,7 @@ public class DynamicAuthentication { |
22 | 22 | public static void main(String... args) throws IOException { |
23 | 23 |
|
24 | 24 | // start with an unauthenticated user |
25 | | - SettableConfigContext config = new ChainedConfigContext( |
| 25 | + BaseChainedConfigContext config = new ChainedConfigContext( |
26 | 26 | new DefaultsConfigContext()) |
27 | 27 | .setMantaURL("https://us-east.manta.joyent.com") |
28 | 28 | .setMantaUser("user/subuser") |
|