[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    Re: svn commit: r1508938 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter
From:       Benedikt Ritter <beneritter () gmail ! com>
Date:       2013-07-31 17:46:43
Message-ID: 39BA2530-AB10-4216-AC21-24CCAB9DA1FE () gmail ! com
[Download RAW message or body]

Whoops that's my one… thanks for fixing :)

Am 31.07.2013 um 17:48 schrieb ggregory@apache.org:

> Author: ggregory
> Date: Wed Jul 31 15:48:54 2013
> New Revision: 1508938
> 
> URL: http://svn.apache.org/r1508938
> Log:
> Fix NPE when format is null.
> 
> Modified:
> commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java
> 
> Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java
>                 
> URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java?rev=1508938&r1=1508937&r2=1508938&view=diff
>  ==============================================================================
> --- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java \
>                 (original)
> +++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java \
> Wed Jul 31 15:48:54 2013 @@ -58,7 +58,7 @@ public class CSVPrinter implements Flush
> public CSVPrinter(final Appendable out, final CSVFormat format) {
> this.out = out;
> this.format = format == null ? CSVFormat.DEFAULT : format;
> -        format.validate();
> +        this.format.validate();
> }
> 
> // ======================================================
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic