Skip to content

Commit

Permalink
WIP: fix for javac8
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Sitnikov committed Jun 7, 2024
1 parent f9e59eb commit abe7b1e
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void creation() {
Shrinkable three = new OneStepShrinkable(3);
Shrinkable hello = Shrinkable.unshrinkable("hello");
Function<List<?>, String> combinator = shrinkables -> {
int anInt = (int) shrinkables.get(0);
int anInt = (Integer) shrinkables.get(0);
String aString = (String) shrinkables.get(1);
return aString + anInt;
};
Expand Down Expand Up @@ -57,8 +57,8 @@ void shrinkingToBottom() {
Shrinkable three = new OneStepShrinkable(3);
Shrinkable five = new OneStepShrinkable(5);
Function<List<?>, Tuple2<Integer, Integer>> combinator = shrinkables -> {
int first = (int) shrinkables.get(0);
int second = (int) shrinkables.get(1);
int first = (Integer) shrinkables.get(0);
int second = (Integer) shrinkables.get(1);
return Tuple.of(first, second);
};

Expand All @@ -75,8 +75,8 @@ void shrinkToCondition() {
Shrinkable three = new OneStepShrinkable(3);
Shrinkable five = new OneStepShrinkable(5);
Function<List<?>, Tuple2<Integer, Integer>> combinator = shrinkables -> {
int first = (int) shrinkables.get(0);
int second = (int) shrinkables.get(1);
int first = (Integer) shrinkables.get(0);
int second = (Integer) shrinkables.get(1);
return Tuple.of(first, second);
};

Expand All @@ -93,8 +93,8 @@ void shrinkingWithFilter() {
Shrinkable three = new OneStepShrinkable(3);
Shrinkable five = new OneStepShrinkable(5);
Function<List<?>, Tuple2<Integer, Integer>> combinator = shrinkables -> {
int first = (int) shrinkables.get(0);
int second = (int) shrinkables.get(1);
int first = (Integer) shrinkables.get(0);
int second = (Integer) shrinkables.get(1);
return Tuple.of(first, second);
};

Expand Down

0 comments on commit abe7b1e

Please sign in to comment.