Title: Formatting of tabular array initializer confused by negative numbers · Issue #400 · google/google-java-format · GitHub
Open Graph Title: Formatting of tabular array initializer confused by negative numbers · Issue #400 · google/google-java-format
X Title: Formatting of tabular array initializer confused by negative numbers · Issue #400 · google/google-java-format
Description: Negative numbers in the initializer of an array with tabular formatting makes google-java-format not preserve the layout. $ cat T.java package foo; public class FormattingTester { private static final double[] flinePoints = { 95.0, 75.0,...
Open Graph Description: Negative numbers in the initializer of an array with tabular formatting makes google-java-format not preserve the layout. $ cat T.java package foo; public class FormattingTester { private static fi...
X Description: Negative numbers in the initializer of an array with tabular formatting makes google-java-format not preserve the layout. $ cat T.java package foo; public class FormattingTester { private static fi...
Opengraph URL: https://github.com/google/google-java-format/issues/400
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Formatting of tabular array initializer confused by negative numbers ","articleBody":"Negative numbers in the initializer of an array with tabular formatting makes google-java-format not preserve the layout.\r\n\r\n```\r\n$ cat T.java\r\npackage foo;\r\n\r\npublic class FormattingTester {\r\n\r\n private static final double[] flinePoints = {\r\n 95.0, 75.0, 95.0, 75.0,\r\n 95.0, 75.0, 95.0, 75.0\r\n };\r\n\r\n private static final double[] flinePoints2 = {\r\n 95.0, 75.0, -95.0, 75.0,\r\n -95.0, 75.0, 95.0, 75.0\r\n };\r\n}\r\n\r\n$ java -jar ~/Downloads/google-java-format-1.7-all-deps.jar T.java\r\npackage foo;\r\n\r\npublic class FormattingTester {\r\n\r\n private static final double[] flinePoints = {\r\n 95.0, 75.0, 95.0, 75.0,\r\n 95.0, 75.0, 95.0, 75.0\r\n };\r\n\r\n private static final double[] flinePoints2 = {95.0, 75.0, -95.0, 75.0, -95.0, 75.0, 95.0, 75.0};\r\n}\r\n\r\n```","author":{"url":"https://github.com/andrewkreid","@type":"Person","name":"andrewkreid"},"datePublished":"2019-09-25T12:24:54Z","url":"https://github.com/google/google-java-format/issues/400"}
| 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:1b169f20-31dc-1555-a01c-c3f13a3a2712 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B722:31263D:4E5C91:693068:6AFBF0A4 |
| html-safe-nonce | 2555a869b4aa3a4f3870803e9dbb3b01fab3a3640a307a0dd3ec7be3f7f089af |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzIyOjMxMjYzRDo0RTVDOTE6NjkzMDY4OjZBRkJGMEE0IiwidmlzaXRvcl9pZCI6Ijg2NjkwODIyOTgzNzAyMjQyOTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 27f716ee5f17bd2ba2802008dfd7b61bc7e393e98b9467f2205faa2eb01a83d2 |
| hovercard-subject-tag | issue:498252166 |
| 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/400/issue_layout |
| twitter:image | https://opengraph.githubassets.com/010e9d1af14a3781d96bbad706067a65287f032c915c1519713eab8fd6a8d979/google/google-java-format/issues/400 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/010e9d1af14a3781d96bbad706067a65287f032c915c1519713eab8fd6a8d979/google/google-java-format/issues/400 |
| og:image:alt | Negative numbers in the initializer of an array with tabular formatting makes google-java-format not preserve the layout. $ cat T.java package foo; public class FormattingTester { private static fi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andrewkreid |
| hostname | github.com |
| expected-hostname | github.com |
| None | fa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f |
| 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 | b3b5633a74535d9c23385512d534c66c8fde1907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width