From: jprocter Date: Thu, 18 Feb 2010 11:53:36 +0000 (+0000) Subject: empty selection message not terminated with '\n' X-Git-Tag: Release_0.2~16 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a9d1fb940a22714b2f15cc31bd359b75c3ad1ec8;p=vamsas.git empty selection message not terminated with '\n' git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@505 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/uk/ac/vamsas/client/picking/SelectionMessage.java b/src/uk/ac/vamsas/client/picking/SelectionMessage.java index 32289aa..eb379c4 100644 --- a/src/uk/ac/vamsas/client/picking/SelectionMessage.java +++ b/src/uk/ac/vamsas/client/picking/SelectionMessage.java @@ -159,7 +159,8 @@ public class SelectionMessage extends Message { throw new Error( "Empty selection must have at least a selection ID or at least one vorbaID indicating selection scope."); } - message.append("none"); + message.append("none\n"); + this.message = message.toString(); return; } // Verify that the range has at least one valid vorbaID for it to be defined