exceptionfactory commented on code in PR #10679:
URL: https://github.com/apache/nifi/pull/10679#discussion_r2644356877


##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-content-viewer/src/main/java/org/apache/nifi/web/controller/StandardContentViewerController.java:
##########
@@ -112,8 +112,6 @@ public void doGet(final HttpServletRequest request, final 
HttpServletResponse re
 
                     final StandardTransformProvider transformProvider = new 
StandardTransformProvider();
                     transformProvider.setIndent(true);
-                    transformProvider.setOmitXmlDeclaration(true);
-

Review Comment:
   Reviewing the history, it looks like it was a more recent change to omit the 
XML declaration, so I agree with this removal.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to