Title: Use Java8 features in APIs now · Issue #108 · googleapis/google-cloud-java · GitHub
Open Graph Title: Use Java8 features in APIs now · Issue #108 · googleapis/google-cloud-java
X Title: Use Java8 features in APIs now · Issue #108 · googleapis/google-cloud-java
Description: There have been a couple of issues recently where more elegant solutions could be provided using features from Java 8. These have included use of lambda functions for datastore transaction direct use of standard function classes rather t...
Open Graph Description: There have been a couple of issues recently where more elegant solutions could be provided using features from Java 8. These have included use of lambda functions for datastore transaction direct u...
X Description: There have been a couple of issues recently where more elegant solutions could be provided using features from Java 8. These have included use of lambda functions for datastore transaction direct u...
Opengraph URL: https://github.com/googleapis/google-cloud-java/issues/108
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use Java8 features in APIs now","articleBody":"There have been a couple of issues recently where more elegant solutions could be provided using features from Java 8. These have included\n- use of lambda functions for datastore transaction\n- direct use of standard function classes rather than Guava equivalents\n- use of new Time classes\n- use of Optional rather than JSR-305 annotations\n\nTo do this we would need to raise the minimum JDK version from 7 to 8 which cause may problems for users who still use older Java runtimes. However, Oracle have already EOLed their public version of Java 7.\n\nThe main advantage of doing this now rather than waiting is that it avoids needing to rev a new version of the API to make use of these idioms and avoids having to support two API versions.\n","author":{"url":"https://github.com/jboynes","@type":"Person","name":"jboynes"},"datePublished":"2015-06-10T22:55:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/108/google-cloud-java/issues/108"}
| 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:16a4fcdd-e255-ae69-0933-2fa028bf33b9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9CDA:268F8:77C959:A212A1:6A4D44B6 |
| html-safe-nonce | cb0345ed0ed1127705fd08d77807e7059f6c113758bb7876f52b1d8e2ad98ef3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0RBOjI2OEY4Ojc3Qzk1OTpBMjEyQTE6NkE0RDQ0QjYiLCJ2aXNpdG9yX2lkIjoiNDA1Nzc5NTQ1ODQ4Njg0NjY0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1fce726c7c9ae21d5c9541e380c652b085ec9c2df1a36f2fb5ea6244d238a79d |
| hovercard-subject-tag | issue:87135339 |
| 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/googleapis/google-cloud-java/108/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2005799ba48a320084db22ca6a1953ef7c6b67fe03c79f3898bba832ad894219/googleapis/google-cloud-java/issues/108 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2005799ba48a320084db22ca6a1953ef7c6b67fe03c79f3898bba832ad894219/googleapis/google-cloud-java/issues/108 |
| og:image:alt | There have been a couple of issues recently where more elegant solutions could be provided using features from Java 8. These have included use of lambda functions for datastore transaction direct u... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jboynes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-java git https://github.com/googleapis/google-cloud-java.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 26181278 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26181278 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-java |
| 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 | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width