diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/lisp/progmodes/java-ts-mode-resources/indent.erts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/lisp/progmodes/java-ts-mode-resources/indent.erts b/test/lisp/progmodes/java-ts-mode-resources/indent.erts index 514d2e08977..7cf59340454 100644 --- a/test/lisp/progmodes/java-ts-mode-resources/indent.erts +++ b/test/lisp/progmodes/java-ts-mode-resources/indent.erts @@ -141,3 +141,31 @@ public class Java { } } =-=-= + +Name: Method chaining + +=-= +public class FloodFill { +public static void main(String[] args) { +List<Foo> stream = students.stream(MAX_VALUE) +.filter(item -> { +return item.getValue() > 100 && +item.isActive(); +}) +.map() +.collect(); +} +} +=-= +public class FloodFill { + public static void main(String[] args) { + List<Foo> stream = students.stream(MAX_VALUE) + .filter(item -> { + return item.getValue() > 100 && + item.isActive(); + }) + .map() + .collect(); + } +} +=-=-= |