commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1298020 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java
Date Wed, 07 Mar 2012 16:58:43 GMT
Author: ggregory
Date: Wed Mar  7 16:58:42 2012
New Revision: 1298020

URL: http://svn.apache.org/viewvc?rev=1298020&view=rev
Log:
Remove unnecessary parens.

Modified:
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java?rev=1298020&r1=1298019&r2=1298020&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java
(original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/output/XmlStreamWriter.java
Wed Mar  7 16:58:42 2012
@@ -69,7 +69,7 @@ public class XmlStreamWriter extends Wri
      */
     public XmlStreamWriter(OutputStream out, String defaultEncoding) {
         this.out = out;
-        this.defaultEncoding = (defaultEncoding != null ? defaultEncoding : "UTF-8");
+        this.defaultEncoding = defaultEncoding != null ? defaultEncoding : "UTF-8";
     }
 
     /**



Mime
View raw message