From 6726695caa3317159bb0965926b90a78b44b9bec Mon Sep 17 00:00:00 2001
From: Pavel Vojtechovsky
Date: Thu, 10 Nov 2016 19:01:14 +0100
Subject: [PATCH] fix compilation problem
---
src/main/java/spoon/support/reflect/code/CtLambdaImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/spoon/support/reflect/code/CtLambdaImpl.java b/src/main/java/spoon/support/reflect/code/CtLambdaImpl.java
index 9eee3c7906f..67043995d7c 100644
--- a/src/main/java/spoon/support/reflect/code/CtLambdaImpl.java
+++ b/src/main/java/spoon/support/reflect/code/CtLambdaImpl.java
@@ -78,7 +78,7 @@ public T setBody(CtStatement statement) {
}
@Override
- public > C setBody(CtBlock body) {
+ public > C setBody(CtBlock body) {
if (expression != null && body != null) {
throw new SpoonException("A lambda can't have two bodys.");
}