JAL-3066 fix compile error (@matesuz - this will conflict :) )
authorJim Procter <jprocter@issues.jalview.org>
Fri, 6 Sep 2019 16:04:55 +0000 (17:04 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 6 Sep 2019 16:04:55 +0000 (17:04 +0100)
src/jalview/ws/slivkaws/ClustaloWS.java

index 645d6f2..aa89209 100644 (file)
@@ -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();