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

Am 31.07.2013 um 17:48 schrieb ggreg...@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-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to