From: Jim Procter Date: Thu, 11 May 2017 14:28:24 +0000 (+0100) Subject: JAL-2507 Annotation.EMPTY_ANNOTATION - non-null whitespace annotation X-Git-Tag: Release_2_10_2~3^2~88^2~8 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=fc9096e49533361ffb654d08d65ee21129eb3875;p=jalview.git JAL-2507 Annotation.EMPTY_ANNOTATION - non-null whitespace annotation --- diff --git a/src/jalview/datamodel/Annotation.java b/src/jalview/datamodel/Annotation.java index 71ebbb3..fc8688c 100755 --- a/src/jalview/datamodel/Annotation.java +++ b/src/jalview/datamodel/Annotation.java @@ -30,6 +30,12 @@ import java.awt.Color; */ public class Annotation { + /** + * the empty annotation - proxy for null entries in annotation row + */ + public static final Annotation EMPTY_ANNOTATION = new Annotation("", "", + ' ', 0f); + /** Character label - also shown below histogram */ public String displayCharacter = "";