Skip to content

Commit b8bf8da

Browse files
committed
remove debug print statements
1 parent e9fb3b8 commit b8bf8da

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/org/sead/uploader/dataverse/DVUploader.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ protected void postProcessChildren(Resource dir) {
517517
MultipartEntityBuilder meb = MultipartEntityBuilder.create();
518518
for (Resource file : dir.listResources()) {
519519
if (!file.isDirectory()) {
520-
println("Adding " + file.getName() + " to list: " + file.getMetadata().toString(2));
520+
//println("Adding " + file.getName() + " to list: " + file.getMetadata().toString(2));
521521

522522
jsonData.put(file.getMetadata());
523523
}
@@ -534,7 +534,7 @@ protected void postProcessChildren(Resource dir) {
534534
HttpEntity postEntity = postResponse.getEntity();
535535
if (postEntity != null) {
536536
postRes = EntityUtils.toString(postEntity);
537-
println("Raw response: " +postRes);
537+
//println("Raw response: " +postRes);
538538
}
539539

540540
if (postStatus == 200) {
@@ -932,7 +932,7 @@ private String multipartDirectFileUpload(Resource file, String path, int retries
932932
jsonResponse = EntityUtils.toString(resEntity);
933933
}
934934
if (status == 200) {
935-
println(jsonResponse);
935+
//println(jsonResponse);
936936
JSONObject uploadResponse = (new JSONObject(jsonResponse)).getJSONObject("data");
937937
//Along with the parts, which should be listed numerically, we get convenience URLs to call on Dataverse to abort or complete the multipart upload
938938
//backwards compat in testing

src/main/java/org/sead/uploader/util/FileResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public JSONObject getMetadata() {
171171

172172
@Override
173173
public void setMetadata(JSONObject jo) {
174-
System.out.println("Storing " + jo.toString(2) );
174+
//System.out.println("Storing " + jo.toString(2) );
175175
metadata=jo;
176176
}
177177

0 commit comments

Comments
 (0)