From fc9096e49533361ffb654d08d65ee21129eb3875 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 11 May 2017 15:28:24 +0100 Subject: [PATCH] JAL-2507 Annotation.EMPTY_ANNOTATION - non-null whitespace annotation --- src/jalview/datamodel/Annotation.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 = ""; -- 1.7.10.2