We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb8b445 commit b338048Copy full SHA for b338048
functional/Closure7.java
@@ -7,7 +7,7 @@
7
8
public class Closure7 {
9
IntSupplier makeFun(int x) {
10
- Integer i = Integer.valueOf(0);
+ Integer i = 0;
11
i = i + 1;
12
return () -> x + i;
13
}
generics/Store.java
@@ -71,7 +71,7 @@ public String toString() {
71
return result.toString();
72
73
public static void main(String[] args) {
74
- System.out.println(new Store(14, 5, 10));
+ System.out.println(new Store(5, 4, 3));
75
76
77
/* Output: (First 8 Lines)
0 commit comments