Skip to content

Make BYTES_PER_* constants public in DataSize #34469

@albertus82

Description

@albertus82

At the moment the constants in org.springframework.util.unit.DataSize are private and cannot be used, for example, in annotations, so we have to bloat our code with 1024 everywhere.

Thanks.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applystatus: feedback-providedFeedback has been provided

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions