aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/ValLambda.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/ValLambda.java')
-rw-r--r--test/transform/resource/after-delombok/ValLambda.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/transform/resource/after-delombok/ValLambda.java b/test/transform/resource/after-delombok/ValLambda.java
index 0b13b5a1..40b056f3 100644
--- a/test/transform/resource/after-delombok/ValLambda.java
+++ b/test/transform/resource/after-delombok/ValLambda.java
@@ -1,21 +1,21 @@
// version 8:
class ValLambda {
public void easyLambda() {
- final java.lang.Runnable foo = (Runnable)() -> {
+ final java.lang.Runnable foo = (Runnable) () -> {
};
}
public void easyIntersectionLambda() {
- final java.lang.Object foo = (Runnable & java.io.Serializable)() -> {
+ final java.lang.Object foo = (Runnable & java.io.Serializable) () -> {
};
- final java.lang.Object bar = (java.io.Serializable & Runnable)() -> {
+ final java.lang.Object bar = (java.io.Serializable & Runnable) () -> {
};
}
public void easyLubLambda() {
- final java.lang.Runnable foo = (System.currentTimeMillis() > 0) ? (Runnable)() -> {
- } : (Runnable)System.out::println;
+ final java.lang.Runnable foo = (System.currentTimeMillis() > 0) ? (Runnable) () -> {
+ } : (Runnable) System.out::println;
}
// public void castLubLambda() {
-// Runnable foo = (Runnable)((System.currentTimeMillis() > 0) ? ()-> {} : System.out::println);
-// lombok.val foo = (Runnable)((System.currentTimeMillis() > 0) ? ()-> {} : System.out::println);
+// Runnable foo = (Runnable) ((System.currentTimeMillis() > 0) ? () -> {} : System.out::println);
+// lombok.val foo = (Runnable) ((System.currentTimeMillis() > 0) ? () -> {} : System.out::println);
// }
} \ No newline at end of file