From a8b52dee30e7bfde2b11aaf3c5091e285f1e27e6 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Sun, 18 Jan 2015 15:17:37 +0000 Subject: [PATCH] always use interface rather than field access --- test/jalview/datamodel/SequenceTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 1.7.10.2