X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FProfiles.java;fp=src%2Fjalview%2Fdatamodel%2FProfiles.java;h=14eae5114f735e13884aa7c287eb79d3f8edafbb;hb=3d0101179759ef157b088ea135423cd909512d9f;hp=f65830a11b76c8866f434e8c259d2e96d65b7f97;hpb=7c70cb09e9de68ab567e38520d6d09f0c17a3939;p=jalview.git diff --git a/src/jalview/datamodel/Profiles.java b/src/jalview/datamodel/Profiles.java index f65830a..14eae51 100644 --- a/src/jalview/datamodel/Profiles.java +++ b/src/jalview/datamodel/Profiles.java @@ -38,7 +38,8 @@ public class Profiles implements ProfilesI @Override public ProfileI get(int col) { - return profiles != null && col >= 0 && col < profiles.length ? profiles[col] + return profiles != null && col >= 0 && col < profiles.length + ? profiles[col] : null; }