From 6d719c33f71bf4b4a310c2988bdb3733c6786383 Mon Sep 17 00:00:00 2001 From: Shubham Goyal Date: Fri, 16 Aug 2024 16:27:06 +0530 Subject: [PATCH 1/7] Move label calculation to where it's used --- src/main/java/org/javarosa/xform/parse/XFormParser.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/org/javarosa/xform/parse/XFormParser.java b/src/main/java/org/javarosa/xform/parse/XFormParser.java index c8b5a3bdbb..083c5e780e 100755 --- a/src/main/java/org/javarosa/xform/parse/XFormParser.java +++ b/src/main/java/org/javarosa/xform/parse/XFormParser.java @@ -1082,8 +1082,6 @@ private void parseGroupLabel(GroupDef g, Element e) { Vector usedAtts = new Vector<>(); usedAtts.addElement(REF_ATTR); - - String label = getLabel(e); String ref = e.getAttributeValue("", REF_ATTR); if (ref != null) { @@ -1096,10 +1094,10 @@ private void parseGroupLabel(GroupDef g, Element e) { throw new RuntimeException("malformed ref [" + ref + "] for