Skip to content

Commit

Permalink
More type fixes wrt #1604 verification
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Oct 18, 2017
1 parent 536e58d commit eb21a9e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,15 @@ public DataList(List<T> data) {
}
}

public static class RefinedDataList<T> extends Data<List<T>> {
// And then add one level between types
public static class RefinedDataList<T> extends DataList<T> {
public RefinedDataList(List<T> data) {
super(data);
}
}

// And/or add another type parameter that is not relevant (less common
// but potential concern)
public static class SneakyDataList<BOGUS,T> extends Data<List<T>> {
public SneakyDataList(List<T> data) {
super(data);
Expand Down

0 comments on commit eb21a9e

Please sign in to comment.