GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Cleanup pass: remove parentheses around a single untyped lambda parameter · Issue #216 · openjavaformat/open-java-format Open DescriptionUpstream: google/google-java-format#1505 google-java-format#1505 (merged 2026-10-29, copybara export) teaches the Why it matters: a common style nit that our formatter leaves alone. Like the other cleanup tickets it only makes sense if we add an AST cleanup pass. Before (upstream behaviour before the change; I believe ours keeps the parentheses but did not run it): class T { Function<Integer, Integer> f = (x) -> x + 1; Runnable r = () -> {}; } After (with the change, from the upstream description): class T { Function<Integer, Integer> f = x -> x + 1; Runnable r = () -> {}; } Affected files in our repo:
Suggested action: watch together with the other cleanup tickets; only typed or multi-parameter lambdas must keep their parentheses. Filed from an upstream-watch ticket after manual review. ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |