Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removing unneeded import and logging
  • Loading branch information
escowles committed Apr 10, 2014
1 parent f306d90 commit 0df0b84
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -57,7 +57,6 @@
import static org.junit.Assert.fail;

import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringWriter;
Expand Down Expand Up @@ -999,7 +998,6 @@ public void testUploadToProjection() throws IOException {
logger.debug("Uploading to federated filesystem via rest api: " + uploadLocation);
final HttpPost post = postDSMethod("files/" + pid, "ds1", uploadContent);
final HttpResponse response = client.execute(post);
logger.debug( "upload response: " + EntityUtils.toString(response.getEntity()) );
assertEquals(CREATED.getStatusCode(), response.getStatusLine().getStatusCode());
final String actualLocation = response.getFirstHeader("Location").getValue();
assertEquals("Wrong URI in Location header", uploadLocation, actualLocation);
Expand All @@ -1026,7 +1024,6 @@ public void testCopyToProjection() throws IOException {
final String pid = randomUUID().toString();
final HttpPost post = postDSMethod(pid, "ds1", "abc123");
final HttpResponse response = client.execute(post);
logger.debug( "upload response: " + EntityUtils.toString(response.getEntity()) );
assertEquals(CREATED.getStatusCode(), response.getStatusLine().getStatusCode());

// copy to federated filesystem
Expand Down Expand Up @@ -1055,7 +1052,6 @@ public void testCopyFromProjection() throws IOException {
final String pid = randomUUID().toString();
final HttpPost post = postDSMethod("files/" + pid, "ds1", "abc123");
final HttpResponse response = client.execute(post);
logger.debug( "upload response: " + EntityUtils.toString(response.getEntity()) );
assertEquals(CREATED.getStatusCode(), response.getStatusLine().getStatusCode());

// copy to repository
Expand Down

0 comments on commit 0df0b84

Please sign in to comment.