blob: d3a15d53c5485141e8ee8ea7c06ff2caeeee276c (
plain)
1
2
3
4
5
6
7
8
9
10
|
package com.puppycrawl.tools.checkstyle.checks.blocks;
public class InputSingleLineLambda {
static Runnable r1 = ()->String.CASE_INSENSITIVE_ORDER.equals("Hello world one!");
static Runnable r2 = () -> String.CASE_INSENSITIVE_ORDER.equals("Hello world two!");
static Runnable r3 = () ->
String.CASE_INSENSITIVE_ORDER.equals("Hello world two!");
static Runnable r4 = () -> {String.CASE_INSENSITIVE_ORDER.equals("Hello world two!");};
}
|