Skip to content

Commit 1817e8c

Browse files
committed
...
1 parent b10a4ea commit 1817e8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,8 @@ protected CsvSchema _schemaFor(JavaType pojoType, LRUMap<JavaType,CsvSchema> sch
426426
boolean typed, Class<?> view)
427427
{
428428
// 15-Dec-2021, tatu: [dataformats-text#288] Only cache if we don't have
429-
// a view, to avoid conflicts
429+
// a view, to avoid conflicts. For now. May be improved by changing cache
430+
// key if that is considered a performance problem.
430431
if (view == null) {
431432
synchronized (schemas) {
432433
CsvSchema s = schemas.get(pojoType);

0 commit comments

Comments
 (0)