File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
bzst-dip-java-client/src/main/java/software/xdev/bzst/dip/client Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -53,19 +53,19 @@ public static List<String> extractTransferNumberFromXml(final String xmlString)
5353 final DocumentBuilder db = dbf .newDocumentBuilder ();
5454 final Document doc = db .parse (new InputSource (new StringReader (xmlString )));
5555
56- final NodeList nodeList = doc .getElementsByTagName (TAG_NAME_DATENTRANSFERNUMMER );
57- final List <String > stringList = new ArrayList <>();
56+ final NodeList nodes = doc .getElementsByTagName (TAG_NAME_DATENTRANSFERNUMMER );
57+ final List <String > strings = new ArrayList <>();
5858
59- for (int i = 0 ; i < nodeList .getLength (); i ++)
59+ for (int i = 0 ; i < nodes .getLength (); i ++)
6060 {
61- final Node node = nodeList .item (i );
61+ final Node node = nodes .item (i );
6262 if (node .getNodeType () == Node .ELEMENT_NODE )
6363 {
6464 final Element tElement = (Element )node ;
65- stringList .add (tElement .getTextContent ());
65+ strings .add (tElement .getTextContent ());
6666 }
6767 }
68- return stringList ;
68+ return strings ;
6969 }
7070 catch (final ParserConfigurationException | SAXException | IOException e )
7171 {
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ public BzstDipSingleTransferResult requestTransferResult(final String dataTransf
141141 )
142142 )
143143 {
144- // TODO: Check text
144+ // Improve via https://github.com/xdev-software/bzst-dip-java-client/issues/14
145145 return new BzstDipSingleTransferResult (dataTransferNumber , 2 );
146146
147147 // return new BzstDipSingleTransferResult(dataTransferNumber, httpResponse.statusCode());
You can’t perform that action at this time.
0 commit comments