Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Commit efdcb37

Browse files
committed
Don't split ternary expression over two lines
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1509261 13f79535-47bb-0310-9956-ffa450edef68
1 parent 4b57058 commit efdcb37

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/apache/commons/csv/CSVParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ public static CSVParser parseString(String string, final CSVFormat format) throw
208208
* If an I/O error occurs
209209
*/
210210
public static CSVParser parseURL(URL url, Charset charset, final CSVFormat format) throws IOException {
211-
return new CSVParser(new InputStreamReader(url.openStream(), charset == null ? Charset.forName("UTF-8")
212-
: charset), format);
211+
return new CSVParser(new InputStreamReader(url.openStream(),
212+
charset == null ? Charset.forName("UTF-8") : charset), format);
213213
}
214214

215215
// the following objects are shared to reduce garbage

0 commit comments

Comments
 (0)