diff --git a/src/main/java/edu/harvard/iq/dataverse/DataCiteRESTfullClient.java b/src/main/java/edu/harvard/iq/dataverse/DataCiteRESTfullClient.java index edd25f24fcc..3fd7f55a01f 100644 --- a/src/main/java/edu/harvard/iq/dataverse/DataCiteRESTfullClient.java +++ b/src/main/java/edu/harvard/iq/dataverse/DataCiteRESTfullClient.java @@ -151,9 +151,6 @@ public String postMetadata(String metadata) throws UnsupportedEncodingException HttpPost httpPost = new HttpPost(this.url + "/metadata"); httpPost.setHeader("Content-Type", "application/xml;charset=UTF-8"); httpPost.setEntity(new StringEntity(metadata, "utf-8")); - System.out.print("in post metadata entity: " + httpPost.getEntity().toString()); - System.out.print("In PostMetadata httpClient " + httpClient.toString()); - System.out.print("In PostMetadata credentials " + context.getCredentialsProvider().getCredentials(AuthScope.ANY)); try { HttpResponse response = httpClient.execute(httpPost,context);