commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1441283 - /commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReader.java
Date Fri, 01 Feb 2013 00:48:10 GMT
Author: sebb
Date: Fri Feb  1 00:48:10 2013
New Revision: 1441283

URL: http://svn.apache.org/viewvc?rev=1441283&view=rev
Log:
Remove unused parameter from private method

Modified:
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReader.java

Modified: commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReader.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReader.java?rev=1441283&r1=1441282&r2=1441283&view=diff
==============================================================================
--- commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReader.java
(original)
+++ commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/compatibility/XmlStreamReader.java
Fri Feb  1 00:48:10 2013
@@ -178,7 +178,7 @@ public class XmlStreamReader extends Rea
             XmlStreamReaderException {
         defaultEncoding = staticDefaultEncoding;
         try {
-            doRawStream(is, lenient);
+            doRawStream(is);
         } catch (final XmlStreamReaderException ex) {
             if (!lenient) {
                 throw ex;
@@ -246,7 +246,7 @@ public class XmlStreamReader extends Rea
             }
         } else {
             try {
-                doRawStream(conn.getInputStream(), lenient);
+                doRawStream(conn.getInputStream());
             } catch (final XmlStreamReaderException ex) {
                 doLenientDetection(null, ex);
             }
@@ -413,7 +413,7 @@ public class XmlStreamReader extends Rea
         reader.close();
     }
 
-    private void doRawStream(final InputStream is, final boolean lenient)
+    private void doRawStream(final InputStream is)
             throws IOException {
         final BufferedInputStream pis = new BufferedInputStream(is, BUFFER_SIZE);
         final String bomEnc = getBOMEncoding(pis);



Mime
View raw message