applied LGPLv3 and source code formatting.
[vamsas.git] / src / uk / ac / vamsas / client / picking / TestApp.java
index bb27811..72a49a5 100644 (file)
@@ -1,3 +1,24 @@
+/*\r
+ * This file is part of the Vamsas Client version 0.1. \r
+ * Copyright 2009 by Jim Procter, Iain Milne, Pierre Marguerite, \r
+ *  Andrew Waterhouse and Dominik Lindner.\r
+ * \r
+ * Earlier versions have also been incorporated into Jalview version 2.4 \r
+ * since 2008, and TOPALi version 2 since 2007.\r
+ * \r
+ * The Vamsas Client is free software: you can redistribute it and/or modify\r
+ * it under the terms of the GNU Lesser General Public License as published by\r
+ * the Free Software Foundation, either version 3 of the License, or\r
+ * (at your option) any later version.\r
+ *  \r
+ * The Vamsas Client is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU Lesser General Public License for more details.\r
+ * \r
+ * You should have received a copy of the GNU Lesser General Public License\r
+ * along with the Vamsas Client.  If not, see <http://www.gnu.org/licenses/>.\r
+ */\r
 package uk.ac.vamsas.client.picking;\r
 \r
 import java.util.logging.*;\r
@@ -65,8 +86,9 @@ public class TestApp implements IMessageHandler {
         for (int id = 0; id < ids.length; id++) {\r
           ids[id] = "object" + id;\r
         }\r
-        \r
-        SelectionMessage sel = new SelectionMessage("mysel", ids, (ids.length>0) ? range : null,(ids.length==0) ? true : false);\r
+\r
+        SelectionMessage sel = new SelectionMessage("mysel", ids,\r
+            (ids.length > 0) ? range : null, (ids.length == 0) ? true : false);\r
         sel.validate();\r
         manager.sendMessage(sel);\r
       } catch (Exception e) {\r
@@ -96,4 +118,4 @@ public class TestApp implements IMessageHandler {
                   + sm.getRanges().getSegCount() + "intervals.")));\r
     }\r
   }\r
-}
\ No newline at end of file
+}\r