Hi Andreas, On Mon, Aug 3, 2020 at 10:25 AM Andreas Tille <andr...@an3as.eu> wrote: > > Control: tags -1 help > > Hi Java team > > I admit I have no idea how to tackle this. Any help would be really > appreciated.
The attached patch should fix the FTBFS you have. -- Regards Sudip
Description: Fix FTBFS The recent update of jebl2 removed the 'IOException' and has also added close() which needs to be overriden. Author: Sudip Mukherjee <sudipm.mukher...@gmail.com> Bug-Debian: https://bugs.debian.org/966878 Forwarded: no --- --- figtree-1.4.4.orig/src/figtree/application/JSONTreeExporter.java +++ figtree-1.4.4/src/figtree/application/JSONTreeExporter.java @@ -80,13 +80,13 @@ public class JSONTreeExporter implements * @throws java.io.IOException */ @Override - public void exportTree(Tree tree) throws IOException { + public void exportTree(Tree tree) { java.util.List<Tree> trees = new ArrayList<Tree>(); trees.add(tree); exportTrees(trees); } - private void writeTrees(Collection<? extends Tree> trees) throws IOException { + private void writeTrees(Collection<? extends Tree> trees) { int indent = 0; int treeCount = 0; @@ -178,10 +178,15 @@ public class JSONTreeExporter implements } @Override - public void exportTrees(Collection<? extends Tree> trees) throws IOException { + public void exportTrees(Collection<? extends Tree> trees) { writeTrees(trees); } + @Override + public void close() { + close(); + } + final private String nameRegex = "^(\\w|-)+$";