mirror of https://github.com/apache/jclouds.git
updated to latest snapshot
This commit is contained in:
parent
d0e842ed6e
commit
32c7ee4b31
|
@ -33,10 +33,8 @@ import java.security.spec.InvalidKeySpecException;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
import javax.inject.Named;
|
|
||||||
import javax.inject.Singleton;
|
import javax.inject.Singleton;
|
||||||
|
|
||||||
import org.jclouds.Constants;
|
|
||||||
import org.jclouds.chef.domain.DatabagItem;
|
import org.jclouds.chef.domain.DatabagItem;
|
||||||
import org.jclouds.crypto.Crypto;
|
import org.jclouds.crypto.Crypto;
|
||||||
import org.jclouds.crypto.Pems;
|
import org.jclouds.crypto.Pems;
|
||||||
|
@ -212,7 +210,6 @@ public class ChefParserModule extends AbstractModule {
|
||||||
|
|
||||||
@Provides
|
@Provides
|
||||||
@Singleton
|
@Singleton
|
||||||
@Named(Constants.PROPERTY_GSON_ADAPTERS)
|
|
||||||
public Map<Type, Object> provideCustomAdapterBindings(DataBagItemAdapter adapter, PrivateKeyAdapter privateAdapter,
|
public Map<Type, Object> provideCustomAdapterBindings(DataBagItemAdapter adapter, PrivateKeyAdapter privateAdapter,
|
||||||
PublicKeyAdapter publicAdapter, X509CertificateAdapter certAdapter) {
|
PublicKeyAdapter publicAdapter, X509CertificateAdapter certAdapter) {
|
||||||
return ImmutableMap.<Type, Object> of(DatabagItem.class, adapter, PrivateKey.class, privateAdapter,
|
return ImmutableMap.<Type, Object> of(DatabagItem.class, adapter, PrivateKey.class, privateAdapter,
|
||||||
|
|
Loading…
Reference in New Issue