Skip to content

Add read and remove methods to ApplicationProperties #1760

@mhalbritter

Description

@mhalbritter

I'd go with:

  • @Nullable Object get(String key)
  • @Nullable T get(String key, Class<T> clazz) which throws if it's the wrong type
  • boolean contains(String key)
  • boolean remove(String key) which returns true if something has been removed

See #1759 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions