aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/java/lambda-this-capture/com/example/Lambda.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources/java/lambda-this-capture/com/example/Lambda.java')
-rw-r--r--src/test/resources/java/lambda-this-capture/com/example/Lambda.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/resources/java/lambda-this-capture/com/example/Lambda.java b/src/test/resources/java/lambda-this-capture/com/example/Lambda.java
index b4aadbf..0438f8c 100644
--- a/src/test/resources/java/lambda-this-capture/com/example/Lambda.java
+++ b/src/test/resources/java/lambda-this-capture/com/example/Lambda.java
@@ -14,7 +14,7 @@ public class Lambda {
}
private int run() {
- Function<Integer, Integer> function = value -> value * factor;
+ IntFunction function = value -> value * factor;
return function.apply(21);
}
}