Skip to content

Commit 7edb80a

Browse files
committed
Add a mention of #314 in release notes; minor cleanup
1 parent 61b4f79 commit 7edb80a

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

csv/src/main/java/com/fasterxml/jackson/dataformat/csv/CsvGenerator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public CsvGenerator(IOContext ctxt, int jsonFeatures, int csvFeatures,
245245
_ioContext = ctxt;
246246
_formatFeatures = csvFeatures;
247247
_schema = schema;
248-
boolean useFastDoubleWriter = StreamWriteFeature.USE_FAST_DOUBLE_WRITER.enabledIn(jsonFeatures);
248+
boolean useFastDoubleWriter = isEnabled(StreamWriteFeature.USE_FAST_DOUBLE_WRITER);
249249
_writer = new CsvEncoder(ctxt, csvFeatures, out, schema, useFastDoubleWriter);
250250
_writeContext = null; // just to make sure it won't be used
251251
_tokenWriteContext = SimpleTokenWriteContext.createRootContext(null);

csv/src/main/java/com/fasterxml/jackson/dataformat/csv/impl/CsvDecoder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ public class CsvDecoder
3131
/**
3232
* Unfortunate back reference, needed for error reporting
3333
*/
34-
final protected CsvParser _owner;
34+
protected final CsvParser _owner;
3535

3636
/**
3737
* I/O context for this reader. It handles buffer allocation
3838
* for the reader.
3939
*/
40-
final protected IOContext _ioContext;
40+
protected final IOContext _ioContext;
4141

4242
/**
4343
* Input stream that can be used for reading more content, if one

release-notes/CREDITS-2.x

+5-3
Original file line numberDiff line numberDiff line change
@@ -176,18 +176,20 @@ Suminda Sirinath Salpitikorala Dharmasena (sirinath@github)
176176
(2.13.0)
177177

178178
Jonas Konrad (yawkat@github)
179-
* Contributed #219: Add TOML (https://en.wikipedia.org/wiki/TOML) support
179+
#219: Add TOML (https://en.wikipedia.org/wiki/TOML) support
180180
(2.13.0)
181181

182182
Krzysztof Debski (kdebski85@github)
183-
* Contributed #270: Should not quote with strict quoting when line starts with `#` but comments
183+
#270: Should not quote with strict quoting when line starts with `#` but comments
184184
are disabled
185185
(2.13.0)
186186

187187
PJ Fanning (pjfanning@github)
188-
* Contributed #283: (csv) `CsvSchema.getColumnDesc()` returns unpaired square bracket when columns
188+
#283: (csv) `CsvSchema.getColumnDesc()` returns unpaired square bracket when columns
189189
are empty
190190
(2.13.0)
191+
#314: (csv) Add fast floating-point parsing, generation support
192+
(2.14.0)
191193

192194
Falk Hanisch (mrpiggi@github)
193195
#288: Caching conflict when creating CSV schemas with different views

release-notes/VERSION-2.x

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ Active Maintainers:
1616

1717
2.14.0 (not yet released)
1818

19-
#297: CSV schema caching POJOs with different views
19+
#297: (csv) CSV schema caching POJOs with different views
2020
(contributed by Falk H)
21+
#314: (csv) Add fast floating-point parsing, generation support
22+
(contributed by @pjfanning)
2123

2224
No changes since 2.13
2325

0 commit comments

Comments
 (0)