Skip to content

getInstance should re-use an existing instance #117

@koppor

Description

@koppor

On each call of `AppDirsFactory.getInstance(), new objects are generated.

public static AppDirs getInstance() {

I think, it would be good to either add JavaDoc why there is always a new instance generated or cache the instance after first creation.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions