libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wood...@apache.org
Subject svn commit: r1000532 - /incubator/libcloud/sandbox/java/trunk/src/base/connection/LoggingConnection.java
Date Thu, 23 Sep 2010 16:40:09 GMT
Author: woodser
Date: Thu Sep 23 16:40:08 2010
New Revision: 1000532

URL: http://svn.apache.org/viewvc?rev=1000532&view=rev
Log:
Bug fix: LoggingConnection.request(...) signature changed to override ConnectionKey.request(...)

Modified:
    incubator/libcloud/sandbox/java/trunk/src/base/connection/LoggingConnection.java

Modified: incubator/libcloud/sandbox/java/trunk/src/base/connection/LoggingConnection.java
URL: http://svn.apache.org/viewvc/incubator/libcloud/sandbox/java/trunk/src/base/connection/LoggingConnection.java?rev=1000532&r1=1000531&r2=1000532&view=diff
==============================================================================
--- incubator/libcloud/sandbox/java/trunk/src/base/connection/LoggingConnection.java (original)
+++ incubator/libcloud/sandbox/java/trunk/src/base/connection/LoggingConnection.java Thu Sep
23 16:40:08 2010
@@ -19,7 +19,7 @@ public class LoggingConnection extends C
 	}
 
 	public Response request(String method, String action,
-			Map<String, String> headers, Map<String, String> params, String data) {
+			Map<String, String> headers, Map<String, String> params, Object data) {
 		log.append(logCurl(method, action, data, headers));
 		Response response = super.request(method, action, headers, params, data);
 		log.append(logResponse(response));
@@ -44,7 +44,7 @@ public class LoggingConnection extends C
 		return logEntry;
 	}
 	
-	protected String logCurl(String method, String url, String body, Map<String, String>
headers) {
+	protected String logCurl(String method, String url, Object body, Map<String, String>
headers) {
 		String curl = "curl -X " + method + " ";
 		
 		if (headers != null) {



Mime
View raw message