You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://avro.apache.org/ for example creates classes which implement Comparable<SpecificRecord> but not Comparable<ClassName>.
Instead every avro class extends SpecificRecordBase which also contains the implementation of compareTo.
Because of this its not easy to use matchers like lessThan.
A solution is to replace Comparable<T> with Comparable<? super T> like I did in my PR #327
The text was updated successfully, but these errors were encountered:
https://avro.apache.org/ for example creates classes which implement
Comparable<SpecificRecord>
but notComparable<ClassName>
.Instead every avro class extends
SpecificRecordBase
which also contains the implementation ofcompareTo
.Because of this its not easy to use matchers like
lessThan
.A solution is to replace
Comparable<T>
withComparable<? super T>
like I did in my PR #327The text was updated successfully, but these errors were encountered: