diff options
author | 2022-11-14 12:50:22 +0000 | |
---|---|---|
committer | 2022-11-14 15:16:19 +0000 | |
commit | 31ad1d85cf9b512737092807626c9e904957759b (patch) | |
tree | d52ae1ef8af5f7090227cd44d36c3f582d90c904 /test/616-cha-interface-default/src-multidex/Base.java | |
parent | f07e4aac9583cb95d7b34a121aa8146be7c040ed (diff) |
ART: Change indentation to 4 spaces in run-test shard 16.
Created with
for testName in \
`git grep -E '^ public static void main\(String\[\]' \
-- test/*16-*/src/Main.java | \
sed '-es/\/src\/Main.java:.*//'`; \
do \
find $testName/ -type f -name *.java | \
xargs sed -E '-es/^(( )+)/\1\1/' --in-place ; \
done
Manually edited long lines found with
git log -n1 -p | grep -E '^\+.{101}'
in test/916-obsolete-jit/src/Main.java .
Test: buildbot-build.sh --target
Change-Id: I096e06729554bfa010efdcc7c510690269cd3a53
Diffstat (limited to 'test/616-cha-interface-default/src-multidex/Base.java')
-rw-r--r-- | test/616-cha-interface-default/src-multidex/Base.java | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/test/616-cha-interface-default/src-multidex/Base.java b/test/616-cha-interface-default/src-multidex/Base.java index 2cbcb500c4..e3222a1ab3 100644 --- a/test/616-cha-interface-default/src-multidex/Base.java +++ b/test/616-cha-interface-default/src-multidex/Base.java @@ -15,27 +15,27 @@ */ interface Base { - default public int foo(int i) { - if (i != 1) { - return -2; + default public int foo(int i) { + if (i != 1) { + return -2; + } + return i + 10; } - return i + 10; - } - // Test default method that's not inlined. - default public int $noinline$bar() { - System.out.print(""); - System.out.print(""); - System.out.print(""); - System.out.print(""); - System.out.print(""); - System.out.print(""); - System.out.print(""); - System.out.print(""); - return -1; - } + // Test default method that's not inlined. + default public int $noinline$bar() { + System.out.print(""); + System.out.print(""); + System.out.print(""); + System.out.print(""); + System.out.print(""); + System.out.print(""); + System.out.print(""); + System.out.print(""); + return -1; + } - default void printError(String msg) { - System.out.println(msg); - } + default void printError(String msg) { + System.out.println(msg); + } } |