empty selection message not terminated with '\n'
authorjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 18 Feb 2010 11:53:36 +0000 (11:53 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 18 Feb 2010 11:53:36 +0000 (11:53 +0000)
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

index 32289aa..eb379c4 100644 (file)
@@ -159,7 +159,8 @@ public class SelectionMessage extends Message {
         throw new Error(\r
             "Empty selection must have at least a selection ID or at least one vorbaID indicating selection scope.");\r
       }\r
-      message.append("none");\r
+      message.append("none\n");\r
+      this.message = message.toString();\r
       return;\r
     }\r
     // Verify that the range has at least one valid vorbaID for it to be defined\r