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 — Should we use javax.annotation.Nullable and javax.annotation.concurrent.Immutable · Issue #182 · googleapis/google-cloud-java

Should we use javax.annotation.Nullable and javax.annotation.concurrent.Immutable #182

New issue
Copy link
New issue
Copy link
Closed
Closed
Should we use javax.annotation.Nullable and javax.annotation.concurrent.Immutable#182
Copy link
Assignees
garrettjonesgoogle
Labels
type: questionRequest for information or clarification. Not an issue.

Description

@aozarov
aozarov
opened on Sep 26, 2015
Issue body actions

Part of JSR-305.

These annotations are part of Java 8, but could be used before by including this dependency

<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>

Activity

  1. aozarov
    added
    type: questionRequest for information or clarification. Not an issue.
    on Sep 26, 2015
  2. aozarov
    changed the title [-]Consider using javax.annotation.Nullable and javax.annotation.concurrent.Immutable[/-] [+]Should we use javax.annotation.Nullable and javax.annotation.concurrent.Immutable[/+] on Sep 26, 2015
  3. eamonnmcmanus commented on Sep 28, 2015

    @eamonnmcmanus
    eamonnmcmanus
    on Sep 28, 2015
    Contributor
    More actions

    Actually the annotations are not part of Java 8, which is good because you can include them from the jsr305 jar and it will work the same everywhere. What changes in Java 8 is that you have type annotations, so you can write things like List<@Nullable String>. Conversely, you can't write that if you want to compile on earlier versions, though you can still write @Nullable String frob(@Nullable String s).

    @Nullable in particular can provide a useful service to client code if that code is using FindBugs or another similar tool.

  4. garrettjonesgoogle commented on Nov 23, 2016

    @garrettjonesgoogle
    garrettjonesgoogle
    on Nov 23, 2016
    Contributor
    More actions

    Stale issue, closing out.

  5. garrettjonesgoogle
    closed this as completedon Nov 23, 2016
  6. JustinBeckwith
    assigned
    garrettjonesgoogle
    on Feb 1, 2021
  7. github-actions
    added 10 commits that reference this issue on Jun 21, 2022

    build(deps): update dependency com.google.cloud:google-cloud-shared-c…

    9fbb0e2

    build(deps): update dependency com.google.cloud:google-cloud-shared-c…

    89b90e4

    chore: include generated samples dir (#182)

    3c3255b

    chore(main): release 2.2.1 (#182)

    8bba290

    feat: Enable REST transport for most of Java and Go clients (#182)

    ed93b83

    chore(deps): update dependency com.google.cloud:google-cloud-data-fus…

    2380f70

    fix: update repo name (#182)

    e8de9cf

    chore(master): release 0.2.0 (#180)

    8db52bf

    chore(main): release 1.1.0 (googleapis#182)

    fe0e8ac

    chore(main): release 0.7.0 (googleapis#185)

    f5e46bb
  8. github-actions
    added a commit that references this issue on Aug 9, 2022

    chore(main): release 0.6.0 (#182)

    1f3a6a6
  9. github-actions
    added a commit that references this issue on Sep 15, 2022

    chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, gener…

    c56fdd5
  10. github-actions
    added 2 commits that reference this issue on Sep 30, 2022

    deps: update dependency googleapis-common-protos to v1.56.4 (#182)

    807bad5

    chore(main): release 1.3.0 (#172)

    f6cf47b
  11. meltsufin
    added a commit that references this issue on Dec 22, 2025

    chore: release 1.101.3-SNAPSHOT (#182)

    57f271e
  12. chingor13
    added a commit that references this issue on Jan 6, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v12 (#…

    8610114
  13. chingor13
    added a commit that references this issue on Jan 22, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v8 (#…

    8e79375
  14. chingor13
    added a commit that references this issue on Feb 24, 2026

    0.11.0 has been released (#182)

    15601f4
  15. suztomo
    added a commit that references this issue on Mar 11, 2026

    chore: release 1.101.3-SNAPSHOT (googleapis#182)

    5dc3e3c
  16. chingor13
    added a commit that references this issue on Mar 12, 2026

    0.11.0 has been released (#182)

    ddaa80c
  17. suztomo
    added a commit that references this issue on Mar 30, 2026

    Realign version number (#182)

    ba9e126
  18. lqiu96
    added a commit that references this issue on Apr 1, 2026

    Realign version number (#182)

    f1f0141
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @garrettjonesgoogle
    garrettjonesgoogle

Labels

type: questionRequest for information or clarification. Not an issue.

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.