Closed piddubnyi closed 8 years ago
@piddubnyi I will find a reviewer for your pull requests shortly, thanks for contribution!
@pinaf could you please review this PR
@piddubnyi let's add the proposed test case.
@piddubnyi <T extends Comparable<T>
seems recursive to me. perhaps you mean <T extends Comparable>
?
@pinaf <T extends Comparable<T>>
is kind of recursive, but otherwise qulice complain about raw type, should I add annotation to ignore this check?
Also, the proposed test is just showing the possibility of getting ClassCastException, with new implementation it is just not compiles because of wrong generic types. Only positive test is possible, should I add it ?
@piddubnyi you are correct, please do add the positive test. We'll see what @yegor256 says about the recursive generics use.
@pinaf Please check if such test is enough.
@piddubnyi yes it is. please see a few more comments.
@pinaf Fixed
@rultor merge
@rultor merge
@pinaf Thanks for your request. @yegor256 Please confirm this.
@rultor merge
@rultor merge
@yegor256 OK, I'll try to merge now. You can check the progress of the merge here
@pinaf 26 mins was added to your account, many thanks for your contribution (payment AP-50N657616J286232A)! The task took 92 hours and 26 mins.. you're getting extra minutes here (c=11). +26 to your rating, your total score is +6290
@rultor deploy now pls
Solving https://github.com/jcabi/jcabi-immutable/issues/21 Changed generic usage to avoid wrong usage.