[exo-jcr-commits] exo-jcr SVN: r2713 - ws/branches/2.1.x/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/proxy.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Jun 29 08:43:00 EDT 2010


Author: dkatayev
Date: 2010-06-29 08:43:00 -0400 (Tue, 29 Jun 2010)
New Revision: 2713

Modified:
   ws/branches/2.1.x/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/proxy/BaseConnector.java
Log:
EXOJCR-797 resp.getText replaced with resp.getData().

Modified: ws/branches/2.1.x/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/proxy/BaseConnector.java
===================================================================
--- ws/branches/2.1.x/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/proxy/BaseConnector.java	2010-06-29 10:48:18 UTC (rev 2712)
+++ ws/branches/2.1.x/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/proxy/BaseConnector.java	2010-06-29 12:43:00 UTC (rev 2713)
@@ -79,7 +79,7 @@
       if (resp.getStatusCode() >= 300)
       {
          LOG.error("Received Error: " + resp.getReasonLine());
-         LOG.error(resp.getText());
+         LOG.error(new String(resp.getData()));
       }
       return resp;
    }
@@ -105,7 +105,7 @@
       if (resp.getStatusCode() >= 300)
       {
          LOG.error("Received Error: " + resp.getReasonLine());
-         LOG.error(resp.getText());
+         LOG.error(new String(resp.getData()));
       }
       return resp;
    }
@@ -131,7 +131,7 @@
       if (resp.getStatusCode() >= 300)
       {
          LOG.error("Received Error: " + resp.getReasonLine());
-         LOG.error(resp.getText());
+         LOG.error(new String(resp.getData()));
       }
       return resp;
    }
@@ -154,7 +154,7 @@
       if (resp.getStatusCode() >= 300)
       {
          LOG.error("Received Error: " + resp.getReasonLine());
-         LOG.error(resp.getText());
+         LOG.error(new String(resp.getData()));
       }
       return resp;
    }



More information about the exo-jcr-commits mailing list