X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FAlignmentAnnotation.java;h=5708f01f3ea38334c004b1d9c5b6014b20a5cc76;hb=f14071cd4c32feeacdb6d4638ef4e3b52071f2f3;hp=ee9389c04dc6697b89a8f2857e3948d4c3eb6ac1;hpb=bab4b08733a9543bdce5c0b9d1c32ca7d18ad9e3;p=jalview.git diff --git a/src/jalview/datamodel/AlignmentAnnotation.java b/src/jalview/datamodel/AlignmentAnnotation.java index ee9389c..5708f01 100755 --- a/src/jalview/datamodel/AlignmentAnnotation.java +++ b/src/jalview/datamodel/AlignmentAnnotation.java @@ -280,6 +280,8 @@ public class AlignmentAnnotation public static final int LINE_GRAPH = 2; + public static final int CUSTOMRENDERER = 4; + public boolean belowAlignment = true; public SequenceGroup groupRef = null; @@ -991,7 +993,7 @@ public class AlignmentAnnotation seqPos = i + startRes; } - sequenceMapping.put(new Integer(seqPos), annotations[i]); + sequenceMapping.put(Integer.valueOf(seqPos), annotations[i]); } } @@ -1030,7 +1032,7 @@ public class AlignmentAnnotation { for (a = sequenceRef.getStart(); a <= sequenceRef.getEnd(); a++) { - index = new Integer(a); + index = Integer.valueOf(a); Annotation annot = sequenceMapping.get(index); if (annot != null) {