From 226c9d6ab7d4ac5479d671f244fe49e715134185 Mon Sep 17 00:00:00 2001 From: Stian Soiland-Reyes Date: Fri, 24 May 2013 16:24:49 +0100 Subject: [PATCH] Remove silly debug exception :) --- .../org/orcid/api/common/writer/HtmlMessageBodyWriter.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/orcid-api-common/src/main/java/org/orcid/api/common/writer/HtmlMessageBodyWriter.java b/orcid-api-common/src/main/java/org/orcid/api/common/writer/HtmlMessageBodyWriter.java index 8bd93d52d4a..4a33e7560c8 100644 --- a/orcid-api-common/src/main/java/org/orcid/api/common/writer/HtmlMessageBodyWriter.java +++ b/orcid-api-common/src/main/java/org/orcid/api/common/writer/HtmlMessageBodyWriter.java @@ -125,11 +125,6 @@ public long getSize(OrcidMessage message, Class type, Type genericType, Annot @Override public void writeTo(OrcidMessage message, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap httpHeaders, OutputStream entityStream) throws IOException, WebApplicationException { - System.err.println("HTML Oh noooooo"); - if (true) { - throw new RuntimeException("HTML Yay"); - } - entityStream.write(message.toString().getBytes()); } }