polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [1/2] zest-java git commit: Fixing formatting
Date Sat, 07 Nov 2015 12:22:34 GMT
Repository: zest-java
Updated Branches:
  refs/heads/develop 44d9724c3 -> 22df34af4


Fixing formatting


Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/1a1bc370
Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/1a1bc370
Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/1a1bc370

Branch: refs/heads/develop
Commit: 1a1bc370255de249d324764e35861e0b8b5c35fb
Parents: 44d9724
Author: Niclas Hedhman <niclas@hedhman.org>
Authored: Sat Nov 7 20:18:02 2015 +0800
Committer: Niclas Hedhman <niclas@hedhman.org>
Committed: Sat Nov 7 20:18:02 2015 +0800

----------------------------------------------------------------------
 .../apache/zest/library/rest/client/api/HandlerCommand.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-java/blob/1a1bc370/libraries/rest-client/src/main/java/org/apache/zest/library/rest/client/api/HandlerCommand.java
----------------------------------------------------------------------
diff --git a/libraries/rest-client/src/main/java/org/apache/zest/library/rest/client/api/HandlerCommand.java
b/libraries/rest-client/src/main/java/org/apache/zest/library/rest/client/api/HandlerCommand.java
index 3a88b75..924aff6 100644
--- a/libraries/rest-client/src/main/java/org/apache/zest/library/rest/client/api/HandlerCommand.java
+++ b/libraries/rest-client/src/main/java/org/apache/zest/library/rest/client/api/HandlerCommand.java
@@ -147,8 +147,8 @@ public abstract class HandlerCommand
         @Override
         HandlerCommand execute( ContextResourceClient client )
         {
-            return client.query( client.getResource()
-                                     .query( relation ), requestObject, responseHandler,
processingErrorHandler );
+            Link link = client.getResource().query( relation );
+            return client.query( link, requestObject, responseHandler, processingErrorHandler
);
         }
     }
 
@@ -184,8 +184,8 @@ public abstract class HandlerCommand
         @Override
         HandlerCommand execute( ContextResourceClient client )
         {
-            return client.command( client.getResource()
-                                       .command( relation ), requestObject, responseHandler,
processingErrorHandler );
+            Link link = client.getResource().command( relation );
+            return client.command( link, requestObject, responseHandler, processingErrorHandler
);
         }
     }
 


Mime
View raw message