JAL-3076 clarify javadoc handling single sequence response for Ensembl REST sequence_... bug/JAL-3076ensemblGeneId
authorJim Procter <jprocter@issues.jalview.org>
Mon, 3 Sep 2018 13:03:54 +0000 (14:03 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 3 Sep 2018 13:03:54 +0000 (14:03 +0100)
src/jalview/ext/ensembl/EnsemblSeqProxy.java

index 19065f2..7b448fd 100644 (file)
@@ -442,10 +442,10 @@ public abstract class EnsemblSeqProxy extends EnsemblRestClient
   }
 
   /**
-   * Parses a JSON response into a list of sequences
+   * Parses a JSON response for a single sequence ID query
    * 
    * @param br
-   * @return
+   * @return a single jalview.datamodel.Sequence
    * @see http://rest.ensembl.org/documentation/info/sequence_id
    */
   protected List<SequenceI> parseSequenceJson(BufferedReader br)