fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [fineract] vorburger commented on a change in pull request #670: FINERACT-702: Integrate SpotBugs and fix over 300 high priority issues
Date Sat, 14 Dec 2019 14:44:47 GMT
vorburger commented on a change in pull request #670: FINERACT-702: Integrate SpotBugs and
fix over 300 high priority issues
URL: https://github.com/apache/fineract/pull/670#discussion_r357921063
 
 

 ##########
 File path: fineract-provider/src/test/java/org/apache/fineract/mix/report/service/XBRLBuilderTest.java
 ##########
 @@ -76,7 +76,8 @@ public void shouldCorrectlyBuildMap() {
         System.out.println(result);
         NodeList nodes = null;
         try {
-            nodes = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new ByteArrayInputStream(result.getBytes()))
+            nodes =
+                    DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new ByteArrayInputStream(result.getBytes(Charset.defaultCharset())))
 
 Review comment:
   again, just use UTF-8

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message