Skip to content

Replace non-public DateFormatSupplier #3358

@SethSmucker

Description

@SethSmucker

Summary

Replace non-public DateFormatSupplier with standard SimpleDateFormat.

Non-Public Class

  • org.apache.accumulo.core.util.format.DateFormatSupplier

Solution

Replace DateFormatSupplier.createDefaultFormatSupplier() with ThreadLocal.withInitial(() -> new SimpleDateFormat("yyyy/MM/dd HH:mm:ss.SSS")).

Files Affected

  • warehouse/core/src/main/java/datawave/mr/bulk/BulkInputFormat.java

Part of #2443

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions