Skip to content

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
brharrington committed Sep 24, 2014
1 parent 88e28ff commit edb934f
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

/**
* Return the edda content for this instance.
Expand All @@ -40,14 +38,6 @@ private String getInstanceId() {
return System.getenv("EC2_INSTANCE_ID");
}

private void copy(InputStream in, OutputStream out) throws IOException {
byte[] buffer = new byte[1024];
int length;
while ((length = in.read(buffer)) != -1) {
out.write(buffer, 0, length);
}
}

@Override public void doGet(final HttpServletRequest req, final HttpServletResponse res) {
String id = getInstanceId();
if (id == null) {
Expand Down

0 comments on commit edb934f

Please sign in to comment.