X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemes%2FFollowerColourScheme.java;h=d9fed3cc17e878379a5a49987d23522948ddfc6d;hb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;hp=32e9316af337f255301a655f16ad482ae149daf7;hpb=0416a98d6da9e0fbe42a9676d4ef30c234cb7b12;p=jalview.git diff --git a/src/jalview/schemes/FollowerColourScheme.java b/src/jalview/schemes/FollowerColourScheme.java index 32e9316..d9fed3c 100644 --- a/src/jalview/schemes/FollowerColourScheme.java +++ b/src/jalview/schemes/FollowerColourScheme.java @@ -1,3 +1,23 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2) + * Copyright (C) 2015 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 . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.schemes; import jalview.analysis.Conservation; @@ -6,8 +26,9 @@ import java.util.Hashtable; /** * Colourscheme that takes its colours from some other colourscheme + * * @author jimp - * + * */ public class FollowerColourScheme extends ResidueColourScheme { @@ -22,7 +43,7 @@ public class FollowerColourScheme extends ResidueColourScheme @Override public void setConsensus(Hashtable[] consensus) { - if (colourScheme!=null) + if (colourScheme != null) { colourScheme.setConsensus(consensus); } @@ -31,7 +52,7 @@ public class FollowerColourScheme extends ResidueColourScheme @Override public void setConservation(Conservation cons) { - if (colourScheme!=null) + if (colourScheme != null) { colourScheme.setConservation(cons); } @@ -40,7 +61,7 @@ public class FollowerColourScheme extends ResidueColourScheme @Override public void setConservationInc(int i) { - if (colourScheme!=null) + if (colourScheme != null) { colourScheme.setConservationInc(i); }