You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by an...@apache.org on 2014/01/17 18:43:42 UTC

[1/2] git commit: More formatting...not sure how much this is helping, though :-(

Updated Branches:
  refs/heads/JCLOUDS-427 2e224db42 -> 4cd00083a


More formatting...not sure how much this is helping, though :-(


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/03a5471d
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/03a5471d
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/03a5471d

Branch: refs/heads/JCLOUDS-427
Commit: 03a5471d0212dca92e7ec0220a1cc583895f4da3
Parents: 2e224db
Author: Andrew Phillips <an...@apache.org>
Authored: Fri Jan 17 12:18:01 2014 -0500
Committer: Andrew Phillips <an...@apache.org>
Committed: Fri Jan 17 12:18:01 2014 -0500

----------------------------------------------------------------------
 core/src/main/java/org/jclouds/rest/config/BinderUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/03a5471d/core/src/main/java/org/jclouds/rest/config/BinderUtils.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/jclouds/rest/config/BinderUtils.java b/core/src/main/java/org/jclouds/rest/config/BinderUtils.java
index 5f6c42b..c845223 100644
--- a/core/src/main/java/org/jclouds/rest/config/BinderUtils.java
+++ b/core/src/main/java/org/jclouds/rest/config/BinderUtils.java
@@ -106,7 +106,7 @@ public class BinderUtils {
       try {
       binder.bind(sync).toProvider(TypeLiteral.class.cast(TypeLiteral.get(token.getType())));
       } catch(RuntimeException e) {
-        System.err.format("************ Caught '%s' trying to bind '%s' to '%s'. Input async class: '%s'", e.getMessage(), TypeLiteral.get(token.getType()), sync, async);
+        System.err.format("************ Caught '%s' trying to bind '%s' to '%s'. Input async class: '%s'%n%n", e.getMessage(), TypeLiteral.get(token.getType()), sync, async);
         throw e;
       }
    }


[2/2] git commit: Changing the order of type token creation

Posted by an...@apache.org.
Changing the order of type token creation


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/4cd00083
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/4cd00083
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/4cd00083

Branch: refs/heads/JCLOUDS-427
Commit: 4cd00083acb03bc3fb50e9f41fd585d9ddddad6c
Parents: 03a5471
Author: Andrew Phillips <an...@apache.org>
Authored: Fri Jan 17 12:43:32 2014 -0500
Committer: Andrew Phillips <an...@apache.org>
Committed: Fri Jan 17 12:43:32 2014 -0500

----------------------------------------------------------------------
 core/src/main/java/org/jclouds/rest/config/BinderUtils.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/4cd00083/core/src/main/java/org/jclouds/rest/config/BinderUtils.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/jclouds/rest/config/BinderUtils.java b/core/src/main/java/org/jclouds/rest/config/BinderUtils.java
index c845223..f2928ee 100644
--- a/core/src/main/java/org/jclouds/rest/config/BinderUtils.java
+++ b/core/src/main/java/org/jclouds/rest/config/BinderUtils.java
@@ -145,9 +145,9 @@ public class BinderUtils {
    @SuppressWarnings({ "unchecked", "serial" })
    private static <S, A> void bindCallGetOnFutures(Binder binder, Class<S> sync, Class<A> async) {
       TypeToken<CallGetOnFuturesProvider<S, A>> token = new TypeToken<CallGetOnFuturesProvider<S, A>>() {
-      }.where(new TypeParameter<S>() {
-      }, sync).where(new TypeParameter<A>() {
-      }, async);
+      }.where(new TypeParameter<A>() {
+      }, async).where(new TypeParameter<S>() {
+      }, sync);
       binder.bind(sync).toProvider(TypeLiteral.class.cast(TypeLiteral.get(token.getType())));
    }