GeezerVison is showing github.com — Addressed codacy issues in DNS. by mderka · Pull Request #850 · googleapis/google-cloud-java
Conversation
This includes
- removing static formatter from example
- removing and unifying imports and full qualification
- removing unused serializable import from Dns
- replacing assert not true with assertFalse in ITDnsTest
- removing unused method from LocalDnsHelperTest.
I deliberately skipped some items which I discussed before with @ajkannan and we concluded that they should be ignored.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Coverage remained the same at 85.537% when pulling 5be34a9 on mderka:codacy into d17e325 on GoogleCloudPlatform:master.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
System.out.printf("Description: %s%n", zone.description());
|
|
|
System.out.printf("Created: %s%n", FORMATTER.format(new Date(zone.creationTimeMillis())));
|
|
|
DateFormat formatter = new SimpleDateFormat("YYYY-MM-dd HH:mm:ss");
|
|
|
System.out.printf("Created: %s%n", formatter.format(new Date(zone.creationTimeMillis())));
|
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.
|
Some more issues:
- ZoneTest.java:352:64: error: ',' is not followed by whitespace.
- LocalDnsHelper.CallRegex should have its member variables be final.
- LocalDnsHelper
delayChange member can be final.
- LocalDnsHelper create method Javadoc is pointing to its contained class (Using
{@code} is preferred in this case).
- OptionParsers should have a private constructor.
- ITDnsTest line 156 could use '==' instead of
equals for enum value.
- ProjectInfo.fromPb can directly return the created Quota.
- pom.xml redundnt groupId (inherit from parent).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
static Function<Change, ChangeRequest> fromPbFunction(final Dns dns, final String zoneName) {
|
|
|
return new Function<Change, ChangeRequest>() {
|
|
|
@Override
|
|
|
public ChangeRequest apply(com.google.api.services.dns.model.Change pb) {
|
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.
- removing static formatter from example
- removing and unifying imports and full qualification
- removing unused serializable import from Dns
- replacing assert not true with assertFalse in ITDnsTest
- removing unused method from LocalDnsHelperTest.
- added joda formatter to example
- style in ZoneTest
- visibility in LocalDnsHelper
- added private constructor to OptionParsers
- adjusted pom.xml
|
I addressed the pointed out issues. I rebased this PR due to conflict with some recently merged PR.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Looks good. Feel free to merge after fixing the ProjectInfo.toPb and also cleaning up the other fully-qualified imports (and making sure build is green).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Coverage decreased (-0.001%) to 85.543% when pulling ff65582 on mderka:codacy into 560d0b6 on GoogleCloudPlatform:master.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
System.out.printf("%nID: %s%n", change.generatedId());
|
|
|
System.out.printf("Status: %s%n", change.status());
|
|
|
System.out.printf("Started: %s%n", FORMATTER.format(change.startTimeMillis()));
|
|
|
System.out.printf("Started: %s%n", FORMATTER.print(change.startTimeMillis()));
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chingor13
pushed a commit
that referenced
this pull request
Feb 24, 2026
* feat: Add AWS Session Token to Metadata Requests
* Adding testing functionality for requests made. Refactoring header passing logic
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 11, 2026
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 11, 2026
chingor13
pushed a commit
that referenced
this pull request
Mar 12, 2026
* feat: Add AWS Session Token to Metadata Requests
* Adding testing functionality for requests made. Refactoring header passing logic
suztomo
pushed a commit
that referenced
this pull request
Mar 30, 2026
Fixes a NullPointerException introduced in #841 which occured when trying
to check the the requesterPays status of a file while authenticated with an
invalid service account.
Refs: #849, #841
lqiu96
pushed a commit
that referenced
this pull request
Apr 1, 2026
Fixes a NullPointerException introduced in #841 which occured when trying
to check the the requesterPays status of a file while authenticated with an
invalid service account.
Refs: #849, #841
benjaminp
pushed a commit
to benjaminp/google-cloud-java
that referenced
this pull request
Jul 13, 2026
* fix: Fix the race condition in decay average
* fix format
* fix
* remove initial condition
* update
* code review
* update
* use clock and don't decay mean
* merge getDecay and getWeight
* update
* update
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
api: dns
Issues related to the Cloud DNS API.
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.
|