-
Notifications
You must be signed in to change notification settings - Fork 1
Lazy #65
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
Lazy #65
Conversation
...main/java/software/xdev/spring/data/eclipse/store/exceptions/LazyNotUnlinkableException.java
Show resolved
Hide resolved
@SuppressWarnings("unchecked") | ||
private Lazy<T> createNewDefaultLazyWithClearableReference() | ||
{ | ||
Objects.requireNonNull(this.loader); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe move those requireNonNull
lines to constructor?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not valid. In the constructor it is valid to leave the loader to null (hence the other constructors). But the method is not allowed to get executed when the loader is null.
...java/software/xdev/spring/data/eclipse/store/repository/lazy/SpringDataEclipseStoreLazy.java
Outdated
Show resolved
Hide resolved
.../xdev/spring/data/eclipse/store/repository/lazy/SpringDataEclipseStoreLazyBinaryHandler.java
Outdated
Show resolved
Hide resolved
.../xdev/spring/data/eclipse/store/repository/lazy/SpringDataEclipseStoreLazyBinaryHandler.java
Outdated
Show resolved
Hide resolved
.../xdev/spring/data/eclipse/store/repository/lazy/SpringDataEclipseStoreLazyBinaryHandler.java
Show resolved
Hide resolved
.../xdev/spring/data/eclipse/store/repository/lazy/SpringDataEclipseStoreLazyBinaryHandler.java
Outdated
Show resolved
Hide resolved
|
No description provided.