GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Monorepo style suggested changes · Issue #590 · googleapis/java-datastore

This repository was archived by the owner on Feb 24, 2026. It is now read-only.
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Monorepo style suggested changes #590

Copy link
Copy link
Closed
#591
Closed
Monorepo style suggested changes#590
#591
Copy link
Assignees
meredithslota
Labels
api: datastoreIssues related to the googleapis/java-datastore API.type: cleanupAn internal cleanup or hygiene concern.

Description

@Capstan
Capstan
opened on Dec 5, 2021
Issue body actions

Internally to Google, clshepherd / clrobot suggest changes to apply best practices. It made the following suggestions:

Fix 2 ErrorProneStyle findings:

  • Constructors and methods with the same name should appear sequentially with no other code in between. Please re-order or re-name methods.
  • This catch block catches an exception and re-throws another, but swallows the caught exception rather than setting it as a cause. This can make debugging harder.

I'm not sure these are all available via the public errorprone module, but perhaps some would get caught upstream if it were installed per https://errorprone.info/docs/installation#maven.

Activity

  1. product-auto-label
    added
    api: datastoreIssues related to the googleapis/java-datastore API.
    on Dec 5, 2021
  2. Capstan commented on Dec 5, 2021

    @Capstan
    Capstan
    on Dec 5, 2021
    ContributorAuthor
    More actions

    Found the external link for the latter: https://errorprone.info/bugpattern/UnusedException

  3. Capstan
    added 3 commits that reference this issue on Dec 5, 2021

    Add errorprone warnings.

    87fe683

    style: Add errorprone warnings.

    8cd22c7

    style: Fix 2 ErrorProneStyle findings

    6f84b08
  4. yoshi-automation
    added
    triage meI really want to be triaged.
    🚨This issue needs some love.
    on Dec 5, 2021
  5. meredithslota
    added
    type: cleanupAn internal cleanup or hygiene concern.
    and removed
    🚨This issue needs some love.
    triage meI really want to be triaged.
    on Dec 13, 2021
  6. Capstan
    added 3 commits that reference this issue on Dec 22, 2021

    style: Add errorprone warnings.

    40562ca

    style: Add errorprone warnings.

    a796401

    style: Add errorprone warnings.

    585e117
  7. Capstan
    added 3 commits that reference this issue on Jan 26, 2022

    style: Add errorprone warnings.

    37f6516

    style: Add errorprone warnings.

    fe8ca1b

    style: Add errorprone warnings.

    3077aa2
  8. Capstan
    added 3 commits that reference this issue on Mar 9, 2022

    style: Add errorprone warnings.

    1aae18b

    style: Add errorprone warnings.

    9057499

    style: Add errorprone warnings.

    1d719d5
  9. kolea2
    added a commit that references this issue on Mar 9, 2022

    style: Add errorprone warnings. (#592)

    77f4832
  10. meredithslota commented on Jun 27, 2022

    @meredithslota
    meredithslota
    on Jun 27, 2022
    More actions

    @Capstan This looks largely addressed by #592 which has been merged. Were there remaining items you wanted here or is this ok to close out?

  11. meredithslota
    self-assigned this
    on Jun 27, 2022
  12. Capstan commented on Jun 27, 2022

    @Capstan
    Capstan
    on Jun 27, 2022
    ContributorAuthor
    More actions

    Ah, I think the hope was that #592 would be part #1, and then someone would select the interesting things to fix, and then fix them. This first PR was just an ad hoc addressing of a couple changes that got suggested internally. That said, if you want to drop this in favor of a more holistic approach, I'm fine with that. (Or accept it and deal with the others later, also fine.)

    Until such time as these are changed to errors, though, this will just be noise that might slip through code review.

  13. meredithslota commented on Jul 26, 2022

    @meredithslota
    meredithslota
    on Jul 26, 2022
    More actions

    I'm wondering if this is something that we should consider for all Java repos, honestly. It's a larger question.

  14. kolea2
    closed this as completedin #591on Aug 3, 2022
  15. kolea2
    added a commit that references this issue on Aug 3, 2022

    style: Fix 2 ErrorProneStyle findings (#591)

    This issue will close once commit 5e4e732 is merged into the 'main' branch.
    5e4e732
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @meredithslota
    meredithslota

Labels

api: datastoreIssues related to the googleapis/java-datastore API.type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.