Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem of Lazy Getter #62

merged 1 commit into from Sep 20, 2014

Problem of Lazy Getter #62

merged 1 commit into from Sep 20, 2014


Copy link

siosio commented Sep 17, 2014

The following valid code will result in an error.(error message "Variable 'hoge' might not have been initialized")

public class Hoge {
    private final String hoge;
    @Getter(lazy = true)
    private final String method = hoge;

    public Hoge(String hoge) {
        this.hoge = hoge;


I fixed this problem.

@mplushnikov mplushnikov added this to the 0.8.8 milestone Sep 17, 2014
@mplushnikov mplushnikov self-assigned this Sep 17, 2014
Copy link

mplushnikov commented Sep 17, 2014

Thank you, I'll look at it!

@mplushnikov mplushnikov merged commit c8e5fda into mplushnikov:master Sep 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.