always use interface rather than field access
authorJim Procter <jprocter@dundee.ac.uk>
Sun, 18 Jan 2015 15:17:37 +0000 (15:17 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Sun, 18 Jan 2015 15:17:37 +0000 (15:17 +0000)
test/jalview/datamodel/SequenceTest.java

index 3f91710..d9a4573 100644 (file)
@@ -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);