Skip to content

Update pmd, refactor checks, add lombok#7

Open
israelias wants to merge 1 commit intomainfrom
develop
Open

Update pmd, refactor checks, add lombok#7
israelias wants to merge 1 commit intomainfrom
develop

Conversation

@israelias
Copy link
Owner

Applies:

public class Something {
    private Something() {}

    private static class LazyHolder {
        static final Something INSTANCE = new Something();
    }

    public static Something getInstance() {
        return LazyHolder.INSTANCE;
    }
}

cc source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant