> @@ -76,47 +91,54 @@ protected void bindErrorHandlers() {
> @Provides
> @Singleton
> @UserProject
> - public Supplier<String> supplyProject(@org.jclouds.location.Provider
> final Supplier<Credentials> creds) {
> - return compose(new Function<Credentials, String>() {
> - public String apply(Credentials in) {
> - checkState(in.identity.indexOf("@") != 1, "identity should be in
> [email protected]" +
> - " format");
> - return Iterables.get(Splitter.on("@").split(in.identity), 0);
> - }
> - }, creds);
> + public Supplier<String> supplyProject(@org.jclouds.location.Provider
> final Supplier<Credentials> creds,
`@Provider` doesn't work?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/16/files#r5362378