diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-02-28 18:17:27 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-02-28 18:17:27 +0000 |
| commit | d3e9fb5ce2a13bdb0ee39e9625494e8c5d2a9383 (patch) | |
| tree | ec4da4df3e0c4c18ab416930b79daac55e5795cb /src/test/resources/java/lambda-this-capture/com/example/Lambda.java | |
| parent | e0de2f39fc7e0b228cf9476f0a86cbd41d93650f (diff) | |
Modify lambda with this capture test to run on C# backend
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.java | 2 |
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); } } |
