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()); } }