From: Jim Procter Date: Sun, 18 Jan 2015 15:17:37 +0000 (+0000) Subject: always use interface rather than field access X-Git-Tag: Jalview_2_9~108^2~25 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a8b52dee30e7bfde2b11aaf3c5091e285f1e27e6;p=jalview.git always use interface rather than field access --- diff --git a/test/jalview/datamodel/SequenceTest.java b/test/jalview/datamodel/SequenceTest.java index 3f91710..d9a4573 100644 --- a/test/jalview/datamodel/SequenceTest.java +++ b/test/jalview/datamodel/SequenceTest.java @@ -12,7 +12,7 @@ import org.junit.Test; public class SequenceTest { - Sequence seq; + SequenceI seq; @Before public void setUp() @@ -94,7 +94,7 @@ public class SequenceTest @Test public void testAddAlignmentAnnotation() { - assertNull(seq.annotation); + assertNull(seq.getAnnotation()); final AlignmentAnnotation annotation = new AlignmentAnnotation("a", "b", 2d); assertNull(annotation.sequenceRef);