You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2013/08/01 16:39:30 UTC

svn commit: r1509261 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java

Author: sebb
Date: Thu Aug  1 14:39:29 2013
New Revision: 1509261

URL: http://svn.apache.org/r1509261
Log:
Don't split ternary expression over two lines

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java?rev=1509261&r1=1509260&r2=1509261&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java Thu Aug  1 14:39:29 2013
@@ -208,8 +208,8 @@ public class CSVParser implements Iterab
      *             If an I/O error occurs
      */
     public static CSVParser parseURL(URL url, Charset charset, final CSVFormat format) throws IOException {
-        return new CSVParser(new InputStreamReader(url.openStream(), charset == null ? Charset.forName("UTF-8")
-                : charset), format);
+        return new CSVParser(new InputStreamReader(url.openStream(), 
+                             charset == null ? Charset.forName("UTF-8") : charset), format);
     }
 
     // the following objects are shared to reduce garbage