]> source.dussan.org Git - poi.git/commitdiff
whitespace
authorJaven O'Neal <onealj@apache.org>
Tue, 24 Nov 2015 05:57:31 +0000 (05:57 +0000)
committerJaven O'Neal <onealj@apache.org>
Tue, 24 Nov 2015 05:57:31 +0000 (05:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716035 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/xssf/extractor/XSSFImportFromXML.java

index bc6ce744721eee3943b4acbb2758ac469a32bc5b..0ffbd0b88c18aaee758d3563f113a4d8ab8340e7 100644 (file)
@@ -111,11 +111,11 @@ public class XSSFImportFromXML {
             Node result = (Node) xpath.evaluate(xpathString, doc, XPathConstants.NODE);
             // result can be null if value is optional (xsd:minOccurs=0), see bugzilla 55864
             if (result != null) {
-                   String textContent = result.getTextContent();
-                   logger.log(POILogger.DEBUG, "Extracting with xpath " + xpathString + " : value is '" + textContent + "'");
-                   XSSFCell cell = singleXmlCell.getReferencedCell();
-                   logger.log(POILogger.DEBUG, "Setting '" + textContent + "' to cell " + cell.getColumnIndex() + "-" + cell.getRowIndex() + " in sheet "
-                                                   + cell.getSheet().getSheetName());
+                String textContent = result.getTextContent();
+                logger.log(POILogger.DEBUG, "Extracting with xpath " + xpathString + " : value is '" + textContent + "'");
+                XSSFCell cell = singleXmlCell.getReferencedCell();
+                logger.log(POILogger.DEBUG, "Setting '" + textContent + "' to cell " + cell.getColumnIndex() + "-" + cell.getRowIndex() + " in sheet "
+                                                + cell.getSheet().getSheetName());
                 setCellValue(textContent, cell, xmlDataType);
             }
         }