From e3a5fbed2151971d1d08c4bbe99f0c4e5c3b7cb1 Mon Sep 17 00:00:00 2001 From: UnleqitQ Date: Fri, 19 Jun 2026 14:13:10 +0200 Subject: [PATCH] fix: remove redundant (and now erroneous) setting of begin and end in taxon resolution --- duui-taxon-resolver/src/main/lua/communication_layer.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/duui-taxon-resolver/src/main/lua/communication_layer.lua b/duui-taxon-resolver/src/main/lua/communication_layer.lua index b73a829..defd4b9 100644 --- a/duui-taxon-resolver/src/main/lua/communication_layer.lua +++ b/duui-taxon-resolver/src/main/lua/communication_layer.lua @@ -308,8 +308,6 @@ function deserialize(inputCas, inputStream) for i, linking in ipairs(linkings) do local taxon_resolution = luajava.newInstance("org.texttechnologylab.annotation.type.TaxonResolution", inputCas) - taxon_resolution:setBegin(begin) - taxon_resolution:setEnd(end_) taxon_resolution:setRecognizedTaxon(recognized_taxon) populateTaxonResolution(taxon_resolution, linking) taxon_resolution:addToIndexes()