Skip to content

Commit

Permalink
Internal change.
Browse files Browse the repository at this point in the history
RELNOTES=n/a
PiperOrigin-RevId: 538224548
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed Jun 6, 2023
1 parent 6135e9d commit e82e2a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void testNullPointerExceptions() {
}

public void testFromArrayAndAppend() {
FluentIterable<TimeUnit> units =
FluentIterable<TimeUnit> unused =
FluentIterable.from(TimeUnit.values()).append(TimeUnit.SECONDS);
}

Expand Down Expand Up @@ -101,7 +101,6 @@ public void testConcatIterable() {
List<Integer> list1 = newArrayList(1);
List<Integer> list2 = newArrayList(4);

@SuppressWarnings("unchecked")
List<List<Integer>> input = newArrayList(list1, list2);

FluentIterable<Integer> result = FluentIterable.concat(input);
Expand All @@ -123,7 +122,6 @@ public void testConcatVarargs() {
List<Integer> list3 = newArrayList(7, 8);
List<Integer> list4 = newArrayList(9);
List<Integer> list5 = newArrayList(10);
@SuppressWarnings("unchecked")
FluentIterable<Integer> result = FluentIterable.concat(list1, list2, list3, list4, list5);
assertEquals(asList(1, 4, 7, 8, 9, 10), newArrayList(result));
assertEquals("[1, 4, 7, 8, 9, 10]", result.toString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void testNullPointerExceptions() {
}

public void testFromArrayAndAppend() {
FluentIterable<TimeUnit> units =
FluentIterable<TimeUnit> unused =
FluentIterable.from(TimeUnit.values()).append(TimeUnit.SECONDS);
}

Expand Down Expand Up @@ -105,7 +105,6 @@ public void testConcatIterable() {
List<Integer> list1 = newArrayList(1);
List<Integer> list2 = newArrayList(4);

@SuppressWarnings("unchecked")
List<List<Integer>> input = newArrayList(list1, list2);

FluentIterable<Integer> result = FluentIterable.concat(input);
Expand All @@ -127,7 +126,6 @@ public void testConcatVarargs() {
List<Integer> list3 = newArrayList(7, 8);
List<Integer> list4 = newArrayList(9);
List<Integer> list5 = newArrayList(10);
@SuppressWarnings("unchecked")
FluentIterable<Integer> result = FluentIterable.concat(list1, list2, list3, list4, list5);
assertEquals(asList(1, 4, 7, 8, 9, 10), newArrayList(result));
assertEquals("[1, 4, 7, 8, 9, 10]", result.toString());
Expand Down

0 comments on commit e82e2a2

Please sign in to comment.