From: Jim Procter Date: Fri, 6 Sep 2019 16:04:55 +0000 (+0100) Subject: JAL-3066 fix compile error (@matesuz - this will conflict :) ) X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6265810309656855a08efc090c42bba8856a7163;p=jalview.git JAL-3066 fix compile error (@matesuz - this will conflict :) ) --- 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();