From 6265810309656855a08efc090c42bba8856a7163 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 6 Sep 2019 17:04:55 +0100 Subject: [PATCH] JAL-3066 fix compile error (@matesuz - this will conflict :) ) --- src/jalview/ws/slivkaws/ClustaloWS.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/jalview/ws/slivkaws/ClustaloWS.java b/src/jalview/ws/slivkaws/ClustaloWS.java index 645d6f2..aa89209 100644 --- a/src/jalview/ws/slivkaws/ClustaloWS.java +++ b/src/jalview/ws/slivkaws/ClustaloWS.java @@ -21,8 +21,6 @@ import java.io.InputStream; import java.util.EnumMap; import java.util.List; -import org.apache.http.entity.ContentType; - import uk.ac.dundee.compbio.slivkaclient.Form; import uk.ac.dundee.compbio.slivkaclient.FormValidationException; import uk.ac.dundee.compbio.slivkaclient.JobState; @@ -102,7 +100,8 @@ public class ClustaloWS extends ServiceWithParameters builder.append(seq.getSequence()).append("\n\n"); } InputStream stream = new ByteArrayInputStream(builder.toString().getBytes()); - RemoteFile file = client.uploadFile(stream, "input.fasta", ContentType.create("application/fasta")); + RemoteFile file = client.uploadFile(stream, "input.fasta", + "application/fasta"); Form form = service.getForm(); form.insert("input", file); String jobUUID = form.submit(); -- 1.7.10.2