Skip to content

Commit b780d3f

Browse files
zbynekniloc132
andauthored
Apply suggestions from code review
Co-authored-by: Colin Alworth <[email protected]>
1 parent ec22afe commit b780d3f

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

user/super/com/google/gwt/emul/java/util/stream/Collectors.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ private static <T,R1,R2,R,X,Y> Collector<T,?,R> teeing2(Collector<? super T,X,R1
8888
downstream1.accumulator().accept(a.getKey(), b);
8989
downstream2.accumulator().accept(a.getValue(), b);
9090
},
91-
(a,b)-> {
91+
(a,b) -> {
9292
X part = downstream1.combiner().apply(a.getKey(), b.getKey());
9393
Y part2 = downstream2.combiner().apply(a.getValue(), b.getValue());
9494
return new AbstractMap.SimpleEntry<>(part, part2);

user/test-super/com/google/gwt/dev/jjs/super/com/google/gwt/emultest/java12/lang/StringTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 GWT Project Authors
2+
* Copyright 2025 GWT Project Authors
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
55
* use this file except in compliance with the License. You may obtain a copy of

user/test-super/com/google/gwt/dev/jjs/super/com/google/gwt/emultest/java12/util/stream/CollectorsTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 GWT Project Authors
2+
* Copyright 2025 GWT Project Authors
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
55
* use this file except in compliance with the License. You may obtain a copy of
@@ -26,7 +26,7 @@
2626
public class CollectorsTest extends EmulTestBase {
2727

2828
public void testTeeing() {
29-
assertEquals(4, Stram.of(2, 4, 6).teeing(Collectors.summingToDouble(n -> n),
29+
assertEquals(4, Stream.of(2, 4, 6).teeing(Collectors.summingToDouble(n -> n),
3030
Collectors.counting(), (sum, count) -> sum / count));
3131
}
3232

user/test/com/google/gwt/emultest/EmulJava12Suite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023 Google Inc.
2+
* Copyright 2025 GWT Project Authors
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
55
* use this file except in compliance with the License. You may obtain a copy of

user/test/com/google/gwt/emultest/java12/lang/StringTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 GWT Project Authors
2+
* Copyright 2025 GWT Project Authors
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
55
* use this file except in compliance with the License. You may obtain a copy of

user/test/com/google/gwt/emultest/java12/util/stream/CollectorsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2024 GWT Project Authors
2+
* Copyright 2025 GWT Project Authors
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
55
* use this file except in compliance with the License. You may obtain a copy of

0 commit comments

Comments
 (0)