Merge branch 'improvement/JAL-1988+JAL-3416_flatlaf_osx_apqhandler' into improvement...
[jalview.git] / test / jalview / schemes / PIDColourSchemeTest.java
index 8a584f6..dff19cd 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.schemes;
 
 import static org.testng.Assert.assertEquals;
@@ -101,16 +121,14 @@ public class PIDColourSchemeTest
     /*
      * including gaps, A should be coloured for 50% consensus
      */
-    Color c = viewport
-            .getResidueShading().findColour('A', 0, seq);
+    Color c = viewport.getResidueShading().findColour('A', 0, seq);
     assertEquals(c, over40);
 
     /*
      * now choose to ignore gaps; colour should be for 67%
      */
     viewport.setIgnoreGapsConsensus(true, af.alignPanel);
-    c = viewport
-            .getResidueShading().findColour('A', 0, seq);
+    c = viewport.getResidueShading().findColour('A', 0, seq);
     assertEquals(c, over60);
   }
 }