Title: Rectangle rule indents lambdas 8 extra columns · Issue #2 · google/google-java-format · GitHub
Open Graph Title: Rectangle rule indents lambdas 8 extra columns · Issue #2 · google/google-java-format
X Title: Rectangle rule indents lambdas 8 extra columns · Issue #2 · google/google-java-format
Description: Before: code in lambda is indented +2: transacter.executeWithRetries(session -> { boolean authenticated = appAuthenticator.isAuthenticated(session, appAuthorization); if (!authenticated) { logger.info("signOutApp failed for [appToken=%s]...
Open Graph Description: Before: code in lambda is indented +2: transacter.executeWithRetries(session -> { boolean authenticated = appAuthenticator.isAuthenticated(session, appAuthorization); if (!authenticated) { logger.i...
X Description: Before: code in lambda is indented +2: transacter.executeWithRetries(session -> { boolean authenticated = appAuthenticator.isAuthenticated(session, appAuthorization); if (!authenticated) { logge...
Mail addresses
notifications@github.com
kevinb@google.com
Opengraph URL: https://github.com/google/google-java-format/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Rectangle rule indents lambdas 8 extra columns","articleBody":"Before: code in lambda is indented +2:\n\n```\n transacter.executeWithRetries(session -> {\n boolean authenticated = appAuthenticator.isAuthenticated(session, appAuthorization);\n if (!authenticated) {\n logger.info(\"signOutApp failed for [appToken=%s]\", appAuthorization.appToken);\n throw CashApiException.unauthorized();\n }\n appAuthenticator.revokeSession(session, appAuthorization.appToken, false);\n });\n```\n\nAfter: code in lambda is indented +10:\n\n```\n transacter.executeWithRetries(\n session\n -> {\n boolean authenticated = appAuthenticator.isAuthenticated(session, appAuthorization);\n if (!authenticated) {\n logger.info(\"signOutApp failed for [appToken=%s]\", appAuthorization.appToken);\n throw CashApiException.unauthorized();\n }\n appAuthenticator.revokeSession(session, appAuthorization.appToken, false);\n });\n```\n\nI think it's consistent with the rule, but this case seemed particularly harsh.\n","author":{"url":"https://github.com/swankjesse","@type":"Person","name":"swankjesse"},"datePublished":"2015-05-15T15:28:33Z","url":"https://github.com/google/google-java-format/issues/2"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:65611594-759a-4a10-1ba8-ee6710a36f65 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 870A:25FB9:2145FD:2C7AD9:6AFBE209 |
| html-safe-nonce | cef6bc4cfaca25cddd22c91ae78261559024a5fcb0d1e53a1f34a4d6accd1769 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzBBOjI1RkI5OjIxNDVGRDoyQzdBRDk6NkFGQkUyMDkiLCJ2aXNpdG9yX2lkIjoiNzc1MjYyNzg0NjEwNjU3MTI3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 60f58221100cf5da8d1e6cac6e3b17e5a87f5c975e17ee8dbd421c451ceb3b1a |
| hovercard-subject-tag | issue:76761317 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/google/google-java-format/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/76f62bd4bb34250a54401ad0d84b3be2e499ab0e52507c1698b04a6c23a3b649/google/google-java-format/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/76f62bd4bb34250a54401ad0d84b3be2e499ab0e52507c1698b04a6c23a3b649/google/google-java-format/issues/2 |
| og:image:alt | Before: code in lambda is indented +2: transacter.executeWithRetries(session -> { boolean authenticated = appAuthenticator.isAuthenticated(session, appAuthorization); if (!authenticated) { logger.i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | swankjesse |
| hostname | github.com |
| expected-hostname | github.com |
| None | 744d4381b1c4dbd6d8736c7d7e5bbe7dc11217584e457a3555020c631764e8ec |
| turbo-cache-control | no-preview |
| go-import | github.com/google/google-java-format git https://github.com/google/google-java-format.git |
| octolytics-dimension-user_id | 1342004 |
| octolytics-dimension-user_login | |
| octolytics-dimension-repository_id | 35448780 |
| octolytics-dimension-repository_nwo | google/google-java-format |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 35448780 |
| octolytics-dimension-repository_network_root_nwo | google/google-java-format |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | df859c48a4c8b4c0009c19bb4e82101aacb4b998 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width