Update Android Studio's ChromiumStyle.xml for lambdas.
Previously if you had an empty lambda, Android Studio would insert a
new line, and then git cl format would remove the newline, and the two
would fight forever. This makes them both agree that no newline is
better.
git cl format and new Android Studio format:
obj.foo(ignored -> {});
old Android Studio format:
obj.foo(ignored -> {
});
Bug: 852962
Change-Id: I785e3264454efbf0118d5fcc36c43ca88076a624
Reviewed-on: https://chromium-review.googlesource.com/1101715Reviewed-by:
agrieve <agrieve@chromium.org>
Commit-Queue: Sky Malice <skym@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567469}
Showing
Please register or sign in to comment