commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject [CSV] with methods like withAllowMissingColumnNames
Date Wed, 27 Aug 2014 14:20:10 GMT
It feels weird to me to write:

CSVFormat.EXCEL.withAllowMissingColumnNames(true);

I want to say:

CSVFormat.EXCEL.withAllowMissingColumnNames();

Any thought adding no arg methods that call the 1-arg version of the method
with a default that makes sense to the "reader" of the call. In the case,
"allow" means do it, hence true.

Gary

-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message