Merge branch 'develop' of http://source.jalview.org/git/jalview into develop
authorJim Procter <jprocter@issues.jalview.org>
Thu, 8 Oct 2015 11:11:51 +0000 (12:11 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 8 Oct 2015 11:11:51 +0000 (12:11 +0100)
15 files changed:
.settings/org.eclipse.jdt.ui.prefs
help/html/whatsNew.html
src/jalview/io/JSONFile.java
src/jalview/json/binding/biojson/v1/AnnotationDisplaySettingPojo.java
src/jalview/schemabinding/version2/descriptors/AnnotationColoursDescriptor.java
src/jalview/schemabinding/version2/descriptors/FeaturesDescriptor.java
src/jalview/schemabinding/version2/descriptors/UserColourSchemeDescriptor.java
src/jalview/schemabinding/version2/descriptors/VamsasModelDescriptor.java
src/jalview/util/HttpUtils.java
test/jalview/analysis/ParsePropertiesTest.java
test/jalview/bin/JalviewLiteTest.java
test/jalview/io/FeaturesFileTest.java
test/jalview/util/MappingUtilsTest.java
test/jalview/util/ParseHtmlBodyAndLinksTest.java
utils/JettyExamplesDir.java

index 5b61305..30e76be 100644 (file)
@@ -12,7 +12,7 @@ sp_cleanup.add_missing_annotations=true
 sp_cleanup.add_missing_deprecated_annotations=true
 sp_cleanup.add_missing_methods=false
 sp_cleanup.add_missing_nls_tags=false
-sp_cleanup.add_missing_override_annotations=false
+sp_cleanup.add_missing_override_annotations=true
 sp_cleanup.add_missing_override_annotations_interface_methods=true
 sp_cleanup.add_serial_version_id=false
 sp_cleanup.always_use_blocks=true
index 2533c8a..67d89b7 100755 (executable)
     <strong>What's new ?</strong>
   </p>
   <p>
-    Jalview 2.9 has been in development since December 2014. In addition
+    Jalview 2.9.0b1 is a bug fix release for Jalview 2.9, which has been in development since December 2014. In addition
     to a multitude of bug fixes and minor improvements (both small, and
     rather big!), it also brings major new capabilities for codon-level
     analysis of protein alignments and the retrieval and manipulation of
-    structural data.</p><p>For the full list of changes, see the
-    <a href="releases.html#Jalview.2.9">Jalview 2.9 Release Notes</a>.
+    structural data.</p><p>For the patches since version 2.9 was release, see the
+    <a href="releases.html#Jalview.2.9.0b1">Jalview 2.9.0b1 Release Notes</a>.
   </p>
   <p>
     <strong>Highlights in Jalview 2.9</strong>
index 5cd09a1..1038925 100644 (file)
@@ -572,8 +572,7 @@ public class JSONFile extends AlignFile implements ComplexAlignFile
                 .get("label").toString(), alAnnot.get("description")
                 .toString(), annotations);
         alignAnnot.graph = (alAnnot.get("graphType") == null) ? 0 : Integer
-                .valueOf(alAnnot.get("graphType")
-                        .toString());
+                .valueOf(alAnnot.get("graphType").toString());
 
         JSONObject diplaySettings = (JSONObject) alAnnot
                 .get("annotationSettings");
index be50b79..d493bf2 100644 (file)
@@ -1,3 +1,23 @@
+/*******************************************************************************
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * 
+ * This file is part of Jalview.
+ * 
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License 
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
+ *  
+ * Jalview is distributed in the hope that it will be useful, but 
+ * WITHOUT ANY WARRANTY; without even the implied warranty 
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
+ * PURPOSE.  See the GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ ******************************************************************************/
 package jalview.json.binding.biojson.v1;
 
 import com.github.reinert.jjschema.Attributes;
index f269bdf..1d2aad3 100644 (file)
@@ -11,7 +11,6 @@ package jalview.schemabinding.version2.descriptors;
 //- Imported classes and packages -/
 //---------------------------------/
 
-
 /**
  * Class AnnotationColoursDescriptor.
  * 
index 5a5b4a9..a7ffaba 100644 (file)
@@ -11,7 +11,6 @@ package jalview.schemabinding.version2.descriptors;
 //- Imported classes and packages -/
 //---------------------------------/
 
-
 /**
  * Class FeaturesDescriptor.
  * 
index 527b16b..ece728a 100644 (file)
@@ -11,7 +11,6 @@ package jalview.schemabinding.version2.descriptors;
 //- Imported classes and packages -/
 //---------------------------------/
 
-
 /**
  * Class UserColourSchemeDescriptor.
  * 
index fc7f9ba..86e6992 100644 (file)
@@ -11,7 +11,6 @@ package jalview.schemabinding.version2.descriptors;
 //- Imported classes and packages -/
 //---------------------------------/
 
-
 /**
  * Class VamsasModelDescriptor.
  * 
index 88df587..991a20a 100644 (file)
@@ -1,3 +1,23 @@
+/*******************************************************************************
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * 
+ * This file is part of Jalview.
+ * 
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License 
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
+ *  
+ * Jalview is distributed in the hope that it will be useful, but 
+ * WITHOUT ANY WARRANTY; without even the implied warranty 
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
+ * PURPOSE.  See the GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ ******************************************************************************/
 package jalview.util;
 
 import java.io.IOException;
index bfe7b7f..d692bbb 100644 (file)
@@ -27,6 +27,7 @@ import jalview.datamodel.Alignment;
 import jalview.datamodel.AlignmentAnnotation;
 import jalview.datamodel.Sequence;
 import jalview.datamodel.SequenceI;
+import jalview.gui.AlignFrame;
 
 import java.util.List;
 
index 047aae8..8276300 100644 (file)
@@ -1,3 +1,23 @@
+/*******************************************************************************
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * 
+ * This file is part of Jalview.
+ * 
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License 
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
+ *  
+ * Jalview is distributed in the hope that it will be useful, but 
+ * WITHOUT ANY WARRANTY; without even the implied warranty 
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
+ * PURPOSE.  See the GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ ******************************************************************************/
 package jalview.bin;
 
 import static org.testng.AssertJUnit.assertEquals;
@@ -7,7 +27,6 @@ import java.util.Arrays;
 
 import org.testng.annotations.Test;
 
-
 public class JalviewLiteTest
 {
 
@@ -19,7 +38,7 @@ public class JalviewLiteTest
     assertNull(JalviewLite.separatorListToArray("|", "|"));
     assertNull(JalviewLite.separatorListToArray("abc", "abc"));
 
-    String [] array = JalviewLite.separatorListToArray("abc|def|ghi|", "|");
+    String[] array = JalviewLite.separatorListToArray("abc|def|ghi|", "|");
     assertEquals(3, array.length);
     assertEquals("abc", array[0]);
     assertEquals("def", array[1]);
index f56cd51..520d1bb 100644 (file)
@@ -38,8 +38,7 @@ import org.testng.annotations.Test;
 public class FeaturesFileTest
 {
 
-  static String TestFiles[][] = {
- { "Test example features import/export",
+  static String TestFiles[][] = { { "Test example features import/export",
       "examples/uniref50.fa", "examples/exampleFeatures.txt" } };
 
   @Test(groups = { "Functional" })
index fbf021b..032af30 100644 (file)
@@ -364,8 +364,7 @@ public class MappingUtilsTest
 
     // map second dna to second protein seq
     map = new MapList(new int[] { 20, 20, 22, 23, 24, 26 }, new int[] { 50,
-        51 },
-            3, 1);
+        51 }, 3, 1);
     acf.addMap(cdna.getSequenceAt(1).getDatasetSequence(), protein
             .getSequenceAt(1).getDatasetSequence(), map);
 
index 5e8cd8c..2d5b4b3 100644 (file)
@@ -1,3 +1,23 @@
+/*******************************************************************************
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * 
+ * This file is part of Jalview.
+ * 
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License 
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
+ *  
+ * Jalview is distributed in the hope that it will be useful, but 
+ * WITHOUT ANY WARRANTY; without even the implied warranty 
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
+ * PURPOSE.  See the GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ ******************************************************************************/
 package jalview.util;
 
 import static org.testng.AssertJUnit.assertEquals;
index 58f7694..76375d6 100644 (file)
@@ -1,3 +1,23 @@
+/*******************************************************************************
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * 
+ * This file is part of Jalview.
+ * 
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License 
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
+ *  
+ * Jalview is distributed in the hope that it will be useful, but 
+ * WITHOUT ANY WARRANTY; without even the implied warranty 
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
+ * PURPOSE.  See the GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ ******************************************************************************/
 //
 //========================================================================
 //Copyright (c) 1995-2015 Mort Bay Consulting Pty. Ltd.
@@ -70,4 +90,4 @@ public class JettyExamplesDir
     server.start();
     server.join();
 }
-}
\ No newline at end of file
+}