Feature request: support underscore in CaffeineSpec numeric literals (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

View all resources

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

ben-manes / caffeine Public

Additional navigation options

Closed

Closed

Feature request: support underscore in CaffeineSpec numeric literals

#1890

@Allsimon

Description

@Allsimon

Allsimon

opened

on Aug 18, 2025

It would be nice to allow underscores in Numeric Literals in the CaffeineSpec:

initialCapacity=1_000, maximumSize=10_000, maximumWeight=1_000_000

Metadata

Metadata

Assignees

No one assigned

Labels

No labels

No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions