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 — feat: introduce `java.time` methods and variables by diegomarquezp · Pull Request #2826 · googleapis/java-storage
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Conversation
|
| public java.time.Duration getTerminationAwaitDurationDuration() { | ||
| return java.time.Duration.ofMinutes(1); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I don't think we've seen this case before (or at least I don't recall). But if the method ends with Duration then we come across DurationDuration and I think that's even more confusing.
Maybe we want to keep this for consistency with all other SDK methods, but I'm thinking that naming scheme isn't ideal.
Perhaps getTerminationAwaitJavaTimeDuration()? Open to suggestions for this.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Cross linking googleapis/java-datastore#1671 (comment)
I like JavaTimeDuration as the suffix. Let's use it in datastore too
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I agree with the point in googleapis/java-datastore#1671 (comment) saying that using DurationJavaTime keeps the prefixes consistent
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
to confirm this with @sydney-munro and @JesseLovelace
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM once we settle JavaTimeDuration or DurationJavaTime
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.