Title: Minor improvements by Tran-Antoine · Pull Request #17 · RLBot/RLBotJavaExample · GitHub
Open Graph Title: Minor improvements by Tran-Antoine · Pull Request #17 · RLBot/RLBotJavaExample
X Title: Minor improvements by Tran-Antoine · Pull Request #17 · RLBot/RLBotJavaExample
Description: This pull request brings a couple of changes in the example. They are not related to performance, but they rather improve the readability and the cleanliness of the code. In a nutshell, these changes are: Usage of a proper builder for the ControlsOutput class, instead of the withXXX methods directly in it. This should not affect performances since a single builder is created at runtime and is simply updated whenever a new building process occurs Addition of @Override annotations, which lead to better readability. It makes clearer the fact that the given method initially belongs to an upper class Generification of field declarations/return types. To respect the abstraction principle, it seems better in my opinion to declare Lists instead of ArrayLists Addition of toString() methods for Vector2 and Vector3, to ease the debugging Usage of primitives instead of wrappers (int instead of Integer), to avoid double object creation
Open Graph Description: This pull request brings a couple of changes in the example. They are not related to performance, but they rather improve the readability and the cleanliness of the code. In a nutshell, these chang...
X Description: This pull request brings a couple of changes in the example. They are not related to performance, but they rather improve the readability and the cleanliness of the code. In a nutshell, these chang...
Opengraph URL: https://github.com/RLBot/RLBotJavaExample/pull/17
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f9901e23-39b5-fb47-7f3e-4eb1b86310c4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BA5C:113351:2202F4C:2E3D7DD:697357C5 |
| html-safe-nonce | 3584caf5c3d32abd22c616161a2eba8ca7f2fa7c74ec4de8e8fcededd81baf55 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTVDOjExMzM1MToyMjAyRjRDOjJFM0Q3REQ6Njk3MzU3QzUiLCJ2aXNpdG9yX2lkIjoiMjg4NzM5NTQwNDA2NjAxOTI2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0b3e1fef7c796e88aa099504ac95ba352a6aea4450f03af9c674766e0253b77d |
| hovercard-subject-tag | pull_request:342423866 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/RLBot/RLBotJavaExample/pull/17/files |
| twitter:image | https://avatars.githubusercontent.com/u/31257370?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31257370?s=400&v=4 |
| og:image:alt | This pull request brings a couple of changes in the example. They are not related to performance, but they rather improve the readability and the cleanliness of the code. In a nutshell, these chang... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4cf879a11b0a28a85543899a36aaee9ec9ca2fb7bedad86c0da5731193c95f01 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RLBot/RLBotJavaExample git https://github.com/RLBot/RLBotJavaExample.git |
| octolytics-dimension-user_id | 36465262 |
| octolytics-dimension-user_login | RLBot |
| octolytics-dimension-repository_id | 125761265 |
| octolytics-dimension-repository_nwo | RLBot/RLBotJavaExample |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 125761265 |
| octolytics-dimension-repository_network_root_nwo | RLBot/RLBotJavaExample |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c75712c8aa15b01c097cbf3f10ca694d449599 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width