From e37493a4d707bce860114ebe4ba8d1b1b7ed914d Mon Sep 17 00:00:00 2001
From: Afif Elghraoui <afif@ghraoui.name>
Date: Thu, 22 Oct 2015 23:55:53 -0700
Subject: [PATCH] override abstract method close() in CRAMReferenceSequenceFile
Building from source without this patch resulted in the following error:
artemis-16.0.0+dfsg/uk/ac/sanger/artemis/components/alignment/CRAMReferenceSequenceFile.java:35:
error: CRAMReferenceSequenceFile is not abstract and does not override abstract method close() in ReferenceSequenceFile
---
.../components/alignment/CRAMReferenceSequenceFile.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/uk/ac/sanger/artemis/components/alignment/CRAMReferenceSequenceFile.java b/uk/ac/sanger/artemis/components/alignment/CRAMReferenceSequenceFile.java
index ae2fb2d72..155be81a0 100644
--- a/uk/ac/sanger/artemis/components/alignment/CRAMReferenceSequenceFile.java
+++ b/uk/ac/sanger/artemis/components/alignment/CRAMReferenceSequenceFile.java
@@ -107,5 +107,8 @@ import uk.ac.sanger.artemis.util.OutOfRangeException;
public void reset()
{
}
-
- }
\ No newline at end of file
+
+ public void close()
+ {
+ }
+ }
--
GitLab