Reformat with context on postponed formatting: fixed java test data

This commit is contained in:
Yaroslav Lepenkin
2015-07-07 17:24:09 +03:00
parent b4e8c6e38d
commit 6731485cb8
5 changed files with 12 additions and 14 deletions
@@ -8,7 +8,7 @@ import static java.util.Arrays.*;
public class Foo {
{
Block<Integer[]> b2 = Arrays::sort;
sort((byte[]) null);
sort((byte[])null);
}
public interface Block<T> {
@@ -10,6 +10,6 @@ class ReturnTypeCompatibility {
}
public static void main(String[] args) {
call("", i -> "");
call("", i -> "");
}
}
@@ -1,7 +1,5 @@
public class BrokenAlignment {
public BrokenAlignment(String errorMessage) {
if (StringUtils.contains(<caret>errorMessage,
"'UK_ACCOUNT_USERNAME'")
}
if (StringUtils.contains(errorMessage, "'UK_ACCOUNT_USERNAME'") }
}
@@ -3,7 +3,7 @@ import org.jetbrains.annotations.Nullable;
class Test {
@NotNull
public String noNull( @Nullable String text) {
public String noNull(@Nullable String text) {
return text == null ? "" : text;
}
}