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
merged 1 commit into from Sep 20, 2014
Merged

Problem of Lazy Getter #62

merged 1 commit into from Sep 20, 2014

Conversation

siosio
Copy link
Contributor

@siosio 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
@mplushnikov
Copy link
Owner

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants