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 — Don't split declaration and initialization · Issue #839 · GoogleCloudPlatform/java-docs-samples

Don't split declaration and initialization #839

New issue
Copy link
New issue
Copy link
Closed
Closed
Don't split declaration and initialization#839
Copy link

Description

@elharo
elharo
opened on Sep 5, 2017
Issue body actions

In which file did you encounter the issue?

https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/storage/json-api/src/main/java/StorageSample.java

Did you change the file? If so, how?

Change

    Objects objects;

    // Iterate through each page of results, and add them to our results list.
    do {
      objects = listRequest.execute();

to


    // Iterate through each page of results, and add them to our results list.
    do {
      Objects objects = listRequest.execute();

Activity

  1. lesv
    added 2 commits that reference this issue on Sep 6, 2017

    Fix suggested change

    cedbaec

    Fix suggested change (#840)

    090a336
  2. jabubake commented on Sep 25, 2017

    @jabubake
    jabubake
    on Sep 25, 2017
    Contributor
    More actions

    The split seems required in this particular instance of the do-while loop, so that while can reference the object

  3. jabubake
    closed this as completedon Sep 25, 2017
  4. minherz
    added 6 commits that reference this issue on Nov 9, 2022

    deps: update dependency com.google.cloud:google-cloud-core to v2.5.11 (…

    be92139

    chore(main): release 0.122.22 (#841)

    73f72e4

    deps: update dependency com.google.cloud:google-cloud-core to v2.5.11 (…

    6281083

    chore(main): release 0.122.22 (#841)

    e007c01

    deps: update dependency com.google.cloud:google-cloud-core to v2.5.11 (…

    2f03849

    chore(main): release 0.122.22 (#841)

    1d29955
  5. Shabirmean
    added a commit that references this issue on Nov 18, 2022

    deps: update dependency com.google.api.grpc:proto-google-cloud-aiplat…

    db9bf6f
  6. gcf-merge-on-green
    added a commit that references this issue on Dec 20, 2022

    samples: migrate code from googleapis/java-aiplatform (#7451)

    24b693d
  7. Sita04
    added a commit that references this issue on Feb 7, 2023

    chore(main): release 3.1.5-SNAPSHOT (#839)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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.