Author: max_shaposhnik
Date: 2010-02-05 07:36:31 -0500 (Fri, 05 Feb 2010)
New Revision: 1695
Modified:
ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/proxy/BaseConnector.java
ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/proxy/Connector.java
Log:
EXOJCR-468 code style fixes
Modified:
ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/proxy/BaseConnector.java
===================================================================
---
ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/proxy/BaseConnector.java 2010-02-05
11:38:25 UTC (rev 1694)
+++
ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/proxy/BaseConnector.java 2010-02-05
12:36:31 UTC (rev 1695)
@@ -34,6 +34,9 @@
import org.exoplatform.common.http.client.NVPair;
import org.exoplatform.common.http.client.ParseException;
import org.exoplatform.common.http.client.ProtocolNotSuppException;
+import org.exoplatform.services.cmis.jcr.object.EntryImpl;
+import org.exoplatform.services.log.ExoLogger;
+import org.exoplatform.services.log.Log;
/**
* @author <a href="mailto:max.shaposhnik@exoplatform.com">Max
Shaposhnik</a>
@@ -42,13 +45,20 @@
public class BaseConnector extends Connector
{
+ /** The connection. */
private HTTPConnection conn;
+ /** The HTTPResponse. */
HTTPResponse resp = null;
+ /** The form_data array. */
NVPair[] form_data;
+ /** The headers array. */
NVPair[] headers;
+
+ /** Logger. */
+ private static final Log LOG = ExoLogger.getLogger(BaseConnector.class);
/**
* {@inheritDoc}
Modified:
ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/proxy/Connector.java
===================================================================
---
ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/proxy/Connector.java 2010-02-05
11:38:25 UTC (rev 1694)
+++
ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/proxy/Connector.java 2010-02-05
12:36:31 UTC (rev 1695)
@@ -35,6 +35,7 @@
public abstract class Connector
{
+ /** The connect timeout. */
protected static final int DEFAULT_CONNECT_TIMEOUT_MS = 5000;
Show replies by date