From a9d1fb940a22714b2f15cc31bd359b75c3ad1ec8 Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 18 Feb 2010 11:53:36 +0000 Subject: [PATCH] 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 --- src/uk/ac/vamsas/client/picking/SelectionMessage.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 1.7.10.2