You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fg...@apache.org on 2010/01/05 16:29:49 UTC
svn commit: r896093 -
/incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java
Author: fguillaume
Date: Tue Jan 5 15:29:49 2010
New Revision: 896093
URL: http://svn.apache.org/viewvc?rev=896093&view=rev
Log:
whitespace/tabs
Modified:
incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java
Modified: incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java?rev=896093&r1=896092&r2=896093&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java (original)
+++ incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java Tue Jan 5 15:29:49 2010
@@ -61,8 +61,8 @@
*/
public class CMISClient {
- private TCKMessageWriter messageWriter;
-
+ private TCKMessageWriter messageWriter;
+
private Connection connection;
private boolean traceConnection;
@@ -83,7 +83,7 @@
public CMISClient(Connection connection, String serviceUrl, TCKMessageWriter messageWriter) {
this.connection = connection;
this.serviceUrl = serviceUrl;
- this.messageWriter = messageWriter;
+ this.messageWriter = messageWriter;
}
public void setValidate(boolean validate) {
@@ -121,7 +121,7 @@
}
return cmisRepositoryInfo;
}
-
+
public CMISCapabilities getCapabilities() throws Exception {
return getRepositoryInfo().getCapabilities();
}
@@ -187,7 +187,7 @@
}
return null;
}
-
+
public CMISUriTemplate getObjectByIdUriTemplate(Workspace workspace) {
return getUriTemplate(workspace, CMISConstants.URI_OBJECT_BY_ID);
}
@@ -195,7 +195,7 @@
public CMISUriTemplate getObjectByPathUriTemplate(Workspace workspace) {
return getUriTemplate(workspace, CMISConstants.URI_OBJECT_BY_PATH);
}
-
+
public CMISUriTemplate getQueryUriTemplate(Workspace workspace) {
return getUriTemplate(workspace, CMISConstants.URI_QUERY);
}
@@ -376,7 +376,7 @@
Entry entry = appModel.parseEntry(new StringReader(xml), null);
return entry;
}
-
+
public Response moveObjectRequest(IRI destFolder, Entry atomEntry, String sourceFolderId, int expectedStatus) throws Exception {
Map<String, String> args = new HashMap<String, String>();
args.put("sourceFolderId", sourceFolderId);
@@ -384,7 +384,7 @@
Response res = executeRequest(req, expectedStatus);
return res;
}
-
+
/**
* Execute Request
*
@@ -423,13 +423,13 @@
mimetypeValidator = getAppValidator();
}
} catch(SAXException e) {}
-
+
if (mimetypeValidator != null) {
try {
if (traceConnection) {
messageWriter.trace("Validating response of content type " + contentType);
}
-
+
String resXML = res.getContentAsString();
assertValid(resXML, mimetypeValidator);
} catch (ParserConfigurationException e) {
@@ -439,7 +439,7 @@
}
}
}
-
+
return res;
}