poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1776633 - /poi/trunk/src/ooxml/testcases/org/apache/poi/util/TestSAXHelper.java
Date Fri, 30 Dec 2016 20:35:09 GMT
Author: centic
Date: Fri Dec 30 20:35:08 2016
New Revision: 1776633

URL: http://svn.apache.org/viewvc?rev=1776633&view=rev
Log:
Fix an api-violations introduced in a test-case

Modified:
    poi/trunk/src/ooxml/testcases/org/apache/poi/util/TestSAXHelper.java

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/util/TestSAXHelper.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/util/TestSAXHelper.java?rev=1776633&r1=1776632&r2=1776633&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/util/TestSAXHelper.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/util/TestSAXHelper.java Fri Dec 30 20:35:08
2016
@@ -35,6 +35,6 @@ public class TestSAXHelper {
         assertEquals(SAXHelper.IGNORING_ENTITY_RESOLVER, reader.getEntityResolver());
         assertNotNull(reader.getProperty("http://apache.org/xml/properties/security-manager"));
 
-        reader.parse(new InputSource(new ByteArrayInputStream("<xml></xml>".getBytes())));
+        reader.parse(new InputSource(new ByteArrayInputStream("<xml></xml>".getBytes("UTF-8"))));
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message