We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The generic type declaration for the Range class can be improved with wildcards like so:
Current declaraction: public final class Range<T extends Comparable> implements Serializable
public final class Range<T extends Comparable> implements Serializable
Possible enhancement: public final class Range<T extends Comparable<? super T>> implements Serializable
public final class Range<T extends Comparable<? super T>> implements Serializable
This should remove a couple of IDE warnings about the use of generics in the class and should be backwards compatible.
The text was updated successfully, but these errors were encountered:
Since you already investigate it, you could send a Pull Request with a change proposal. I'll investigate it afterward.
Sorry, something went wrong.
Generify the Comparable type in the Range class #478
f2ea50f
Fixed.
901c5cc
355c353
No branches or pull requests
The generic type declaration for the Range class can be improved with wildcards like so:
Current declaraction:
public final class Range<T extends Comparable> implements Serializable
Possible enhancement:
public final class Range<T extends Comparable<? super T>> implements Serializable
This should remove a couple of IDE warnings about the use of generics in the class and should be backwards compatible.
The text was updated successfully, but these errors were encountered: