Claudenw commented on code in PR #233:
URL: https://github.com/apache/creadur-rat/pull/233#discussion_r1564520043


##########
apache-rat-core/src/main/java/org/apache/rat/report/claim/impl/xml/SimpleXmlClaimReporter.java:
##########
@@ -140,9 +100,9 @@ public void startReport() throws RatException {
     @Override
     public void endReport() throws RatException {
         try {
-            writer.closeDocument();
+            writer.closeElement();
         } catch (IOException e) {
-            throw new RatException("Cannot close last element", e);
+            throw new RatException("Cannot open start element", e);

Review Comment:
   Stupid log error on my part.  Good catch.  We are indeed closing the element.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to