Skip to content

Checkstyle fixes in Cloud Storage JSON API tests. - #109

Merged
lesv merged 1 commit into
masterfrom
csstorage
Mar 15, 2016
Merged

Checkstyle fixes in Cloud Storage JSON API tests.#109
lesv merged 1 commit into
masterfrom
csstorage

Conversation

@tswast

@tswast tswast commented Mar 15, 2016

Copy link
Copy Markdown
Contributor

Getting ready to use shared java-repo-tools configuration.

I also convert the assertions to use truth.

Since I find it more readable to get a list of object names first
instead of manually looping through, I also update the sample to use
Java 8 lambdas to extract these object names. The sample is used here:
https://cloud.google.com/storage/docs/json_api/v1/json-api-java-samples
which does not indicate the required Java version.

Depends on #107

Comment thread storage/json-api/pom.xml Outdated
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can specify this w/ the shortcut maven.compiler.source & maven.compiler.target -- it's one less thing we need to track.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in latest commit push. Thanks for the suggestion.

@lesv

lesv commented Mar 15, 2016

Copy link
Copy Markdown
Contributor

Just use <properties> and set maven.compiler.source & maven.compiler.target

Getting ready to use shared java-repo-tools configuration.

I also convert the assertions to use
[truth](http://google.github.io/truth/).

Since I find it more readable to get a list of object names first
instead of manually looping through, I also update the sample to use
Java 8 lambdas to extract these object names. The sample is used here:
https://cloud.google.com/storage/docs/json_api/v1/json-api-java-samples
which does not indicate the required Java version.
@tswast tswast changed the title Checkstyle fixes in Cloud Storage JSON API tests [wait for #107 to merge first]. Mar 15, 2016
@lesv

lesv commented Mar 15, 2016

Copy link
Copy Markdown
Contributor

LGTM

lesv added a commit that referenced this pull request Mar 15, 2016
Checkstyle fixes in Cloud Storage JSON API tests.
@lesv
lesv merged commit 14e393a into master Mar 15, 2016
@tswast
tswast deleted the csstorage branch March 17, 2016 17:16
averikitsch pushed a commit that referenced this pull request Oct 27, 2022
…uration to v1.0.15 (#109)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | patch | `1.0.14` -> `1.0.15` |

---

### Release Notes

<details>
<summary>GoogleCloudPlatform/java-repo-tools</summary>

### [`v1.0.15`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/releases/v1.0.15)

[Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.14...v1.0.15)

-   Move some stuff around (in prep for a change to release process) pom.xml's
-   Add an exclude filter for SpotBugs. (disable the Java 11 surprise)
-   Don't fail on SpotBugs issues for now
-   add PMD reporting
-   Don't fail on PMD issues for now.

</details>

---

### Renovate configuration

:date: **Schedule**: At any time (no schedule defined).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-tasks).
averikitsch pushed a commit that referenced this pull request Nov 1, 2022
…uration to v1.0.15 (#109)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [com.google.cloud.samples:shared-configuration](https://togithub.com/GoogleCloudPlatform/java-repo-tools) | patch | `1.0.14` -> `1.0.15` |

---

### Release Notes

<details>
<summary>GoogleCloudPlatform/java-repo-tools</summary>

### [`v1.0.15`](https://togithub.com/GoogleCloudPlatform/java-repo-tools/releases/v1.0.15)

[Compare Source](https://togithub.com/GoogleCloudPlatform/java-repo-tools/compare/v1.0.14...v1.0.15)

-   Move some stuff around (in prep for a change to release process) pom.xml's
-   Add an exclude filter for SpotBugs. (disable the Java 11 surprise)
-   Don't fail on SpotBugs issues for now
-   add PMD reporting
-   Don't fail on PMD issues for now.

</details>

---

### Renovate configuration

:date: **Schedule**: At any time (no schedule defined).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-tasks).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants