GeezerVison is showing github.com — Correct additional style issues and remove warnings by jart · Pull Request #715 · googleapis/google-cloud-java
Conversation
This change is a follow-up to post-merge comments in #706 made by @ajkannan and @aozarov. The following changes have been made:
- Don't use @nullable on equals() methods
- Don't
throws Exception in test methods unless needed
- Use incomplete sentences in JavaDoc summary fragment
- Capitalize Cloud Storage
- Get rid of some one-line JavaDocs
- Use @code formatting when appropriate
- Remove Paths.get() usages which is deprecated in Java 8
- Remove @SuppressWarnings("null") which no one uses
CC: @jean-philippe-martin
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
|
|
|
/** empty test storage and make sure we use it instead of the real GCS. Create a few paths. **/
|
|
|
@Before
|
|
|
public void before() {
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Looks good to me, but let's wait to hear from the others.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Question about your bullet point "Remove Paths.get() usages which is deprecated in Java 8". I couldn't find online a reference that it's being deprecated; did I misunderstand that bullet? I see that you changed the Paths.get that uses the string as an argument. If the string argument is deprecated, then I see one more example (line 633 of CloudStorageFileSystemProviderTest) that uses a string. All other changes look good to me.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Hmm it's possible that the deprecation was added to the JavaDoc only internally at Google. But it makes sense. It seems more readable for us to be doing it the way I refactored it.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This change is a follow-up to post-merge comments in googleapis#706 made by
@ajkannan and @aozarov. The following changes have been made:
- Don't use @nullable on equals() methods
- Don't `throws Exception` in test methods unless needed
- Use incomplete sentences in JavaDoc summary fragment
- Capitalize Cloud Storage
- Get rid of some one-line JavaDocs
- Use @code formatting when appropriate
- Remove Paths.get() usages which is deprecated in Java 8
- Remove @SuppressWarnings("null") which no one uses
jart
added a commit
that referenced
this pull request
Mar 5, 2016
Correct additional style issues and remove warnings
chingor13
pushed a commit
that referenced
this pull request
Jan 6, 2026
* chore: update java template
* chore: fix tests
* chore: fix tests
* chore: update project
Source-Link: googleapis/synthtool@1155a97
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 23, 2026
benjaminp
pushed a commit
to benjaminp/google-cloud-java
that referenced
this pull request
Jul 13, 2026
* chore: improve embedded version handling
Use new feature in releasetool (googleapis/releasetool#317) to manage the client version instead of maven tricks introduced in googleapis/java-bigtable#451
* migrate to new version scheme
* rename back to Version
* config release-please for version bumps
* make sure file doesnt get clobbered
* add a couple of tests
* fmt
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
cla: yes
This human has signed the Contributor License Agreement.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|