From: Simon Steiner Date: Wed, 15 Jun 2022 09:35:11 +0000 (+0000) Subject: Fix warnings X-Git-Tag: fop-2_8~2^2~31 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0cce4a4a66e147176c817ca8deb5099e76d49a12;p=xmlgraphics-fop.git Fix warnings git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1901933 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/fop-core/src/test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java b/fop-core/src/test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java index d00526b10..4b933e98d 100644 --- a/fop-core/src/test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java +++ b/fop-core/src/test/java/org/apache/fop/accessibility/fo/FO2StructureTreeConverterTestCase.java @@ -183,7 +183,7 @@ public class FO2StructureTreeConverterTestCase { @Test public void testRemoveTableHeader() throws Exception { keepEmptyTags = false; - String fo = IOUtils.toString(getResource("table-artifact.fo")).replace("role=\"artifact\"", ""); + String fo = IOUtils.toString(getResource("table-artifact.fo"), "utf8").replace("role=\"artifact\"", ""); compare(fo, "\n" + "\n" + " +