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 — The `.isEqualTo()` method is deprecated for doubles. by tswast · Pull Request #324 · GoogleCloudPlatform/java-docs-samples

Conversation

@tswast

@tswast tswast commented Sep 1, 2016

Copy link
Copy Markdown
Contributor

Comparing to 1.0 should have been accurate since it is accurately represented in base-2 floating point, but I think the method is deprecated to discourage depending on a fragile thing due to rounding issues.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tswast
The .isEqualTo method is deprecated for doubles.
a6e09d6
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 1, 2016
@tswast tswast added the automerge label Sep 1, 2016
@dpebot
dpebot merged commit ae4fb40 into master Sep 1, 2016
@dpebot
dpebot deleted the tswast-language branch September 1, 2016 22:57
Shabirmean pushed a commit that referenced this pull request Nov 10, 2022
@renovate-bot
deps: update dependency com.google.code.gson:gson to v2.9.0 (#324)
a37556e
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.code.gson:gson](https://togithub.com/google/gson) | `2.8.9` -> `2.9.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.9.0/compatibility-slim/2.8.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.9.0/confidence-slim/2.8.9)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>google/gson</summary>

### [`v2.9.0`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-290)

**The minimum supported Java version changes from 6 to 7.**

-   Change target Java version to 7 ([#&#8203;2043](https://togithub.com/google/gson/issues/2043))
-   Put `module-info.class` into Multi-Release JAR folder ([#&#8203;2013](https://togithub.com/google/gson/issues/2013))
-   Improve error message when abstract class cannot be constructed ([#&#8203;1814](https://togithub.com/google/gson/issues/1814))
-   Support EnumMap deserialization ([#&#8203;2071](https://togithub.com/google/gson/issues/2071))
-   Add LazilyParsedNumber default adapter ([#&#8203;2060](https://togithub.com/google/gson/issues/2060))
-   Fix JsonReader.hasNext() returning true at end of document ([#&#8203;2061](https://togithub.com/google/gson/issues/2061))
-   Remove Gradle build support. Build script was outdated and not actively
    maintained anymore ([#&#8203;2063](https://togithub.com/google/gson/issues/2063))
-   Add `GsonBuilder.disableJdkUnsafe()` ([#&#8203;1904](https://togithub.com/google/gson/issues/1904))
-   Add `UPPER_CASE_WITH_UNDERSCORES` in FieldNamingPolicy ([#&#8203;2024](https://togithub.com/google/gson/issues/2024))
-   Fix failing to serialize Collection or Map with inaccessible constructor ([#&#8203;1902](https://togithub.com/google/gson/issues/1902))
-   Improve TreeTypeAdapter thread-safety ([#&#8203;1976](https://togithub.com/google/gson/issues/1976))
-   Fix `Gson.newJsonWriter` ignoring lenient and HTML-safe setting ([#&#8203;1989](https://togithub.com/google/gson/issues/1989))
-   Delete unused LinkedHashTreeMap ([#&#8203;1992](https://togithub.com/google/gson/issues/1992))
-   Make default adapters stricter; improve exception messages ([#&#8203;2000](https://togithub.com/google/gson/issues/2000))
-   Fix `FieldNamingPolicy.upperCaseFirstLetter` uppercasing non-letter ([#&#8203;2004](https://togithub.com/google/gson/issues/2004))

</details>

---

### Configuration

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

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

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

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

---

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

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-retail).
@Shabirmean Shabirmean mentioned this pull request Nov 10, 2022
samples: migrate code from googleapis/java-retail #7403
Merged
9 tasks
@charlieyu1996 charlieyu1996 mentioned this pull request Nov 11, 2022
migrate code from googleapis/java-datacatalog #7412
Merged
9 tasks
charlieyu1996 pushed a commit that referenced this pull request Nov 11, 2022
@renovate-bot
test(deps): update dependency com.google.truth:truth to v1.1 (#324)
c5b7941
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [com.google.truth:truth](com/google/truth/truth) | minor | `1.0.1` -> `1.1` |

---

### 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#github/googleapis/java-datacatalog).
Shabirmean pushed a commit that referenced this pull request Nov 15, 2022
@renovate-bot @Shabirmean
deps: update dependency com.google.code.gson:gson to v2.9.0 (#324)
5bcd3c0
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.code.gson:gson](https://togithub.com/google/gson) | `2.8.9` -> `2.9.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.9.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.9.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.9.0/compatibility-slim/2.8.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.code.gson:gson/2.9.0/confidence-slim/2.8.9)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>google/gson</summary>

### [`v2.9.0`](https://togithub.com/google/gson/blob/HEAD/CHANGELOG.md#Version-290)

**The minimum supported Java version changes from 6 to 7.**

-   Change target Java version to 7 ([#&#8203;2043](https://togithub.com/google/gson/issues/2043))
-   Put `module-info.class` into Multi-Release JAR folder ([#&#8203;2013](https://togithub.com/google/gson/issues/2013))
-   Improve error message when abstract class cannot be constructed ([#&#8203;1814](https://togithub.com/google/gson/issues/1814))
-   Support EnumMap deserialization ([#&#8203;2071](https://togithub.com/google/gson/issues/2071))
-   Add LazilyParsedNumber default adapter ([#&#8203;2060](https://togithub.com/google/gson/issues/2060))
-   Fix JsonReader.hasNext() returning true at end of document ([#&#8203;2061](https://togithub.com/google/gson/issues/2061))
-   Remove Gradle build support. Build script was outdated and not actively
    maintained anymore ([#&#8203;2063](https://togithub.com/google/gson/issues/2063))
-   Add `GsonBuilder.disableJdkUnsafe()` ([#&#8203;1904](https://togithub.com/google/gson/issues/1904))
-   Add `UPPER_CASE_WITH_UNDERSCORES` in FieldNamingPolicy ([#&#8203;2024](https://togithub.com/google/gson/issues/2024))
-   Fix failing to serialize Collection or Map with inaccessible constructor ([#&#8203;1902](https://togithub.com/google/gson/issues/1902))
-   Improve TreeTypeAdapter thread-safety ([#&#8203;1976](https://togithub.com/google/gson/issues/1976))
-   Fix `Gson.newJsonWriter` ignoring lenient and HTML-safe setting ([#&#8203;1989](https://togithub.com/google/gson/issues/1989))
-   Delete unused LinkedHashTreeMap ([#&#8203;1992](https://togithub.com/google/gson/issues/1992))
-   Make default adapters stricter; improve exception messages ([#&#8203;2000](https://togithub.com/google/gson/issues/2000))
-   Fix `FieldNamingPolicy.upperCaseFirstLetter` uppercasing non-letter ([#&#8203;2004](https://togithub.com/google/gson/issues/2004))

</details>

---

### Configuration

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

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

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

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

---

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

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-retail).
Shabirmean pushed a commit that referenced this pull request Nov 15, 2022
@renovate-bot
test(deps): update dependency com.google.truth:truth to v1.1.2 (#324)
cee8e33
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.truth:truth](com/google/truth/truth) | `1.1` -> `1.1.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/compatibility-slim/1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/confidence-slim/1.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### 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#github/googleapis/java-document-ai).
@Shabirmean Shabirmean mentioned this pull request Nov 15, 2022
samples: migrate code from googleapis/java-document-ai #7427
Merged
9 tasks
Shabirmean pushed a commit that referenced this pull request Nov 15, 2022
@renovate-bot @Shabirmean
test(deps): update dependency com.google.truth:truth to v1.1.2 (#324)
bcfb19f
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.truth:truth](com/google/truth/truth) | `1.1` -> `1.1.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/compatibility-slim/1.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.truth:truth/1.1.2/confidence-slim/1.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### 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#github/googleapis/java-document-ai).
Shabirmean pushed a commit that referenced this pull request Nov 16, 2022
@renovate-bot
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
7bce2b7
…ow-cx to v0.10.1 (#324)
@Shabirmean Shabirmean mentioned this pull request Nov 16, 2022
samples: migrate code from googleapis/java-dialogflow-cx #7435
Merged
9 tasks
Shabirmean pushed a commit that referenced this pull request Nov 17, 2022
@renovate-bot @Shabirmean
chore(deps): update dependency com.google.cloud:google-cloud-dialogfl…
43b0887
…ow-cx to v0.10.1 (#324)
Sita04 pushed a commit that referenced this pull request Feb 7, 2023
@renovate-bot
chore(deps): update dependency com.google.cloud:libraries-bom to v13.…
d787315
…2.0 (#324)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `13.1.0` -> `13.2.0` |

---

### 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#github/googleapis/java-dlp).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

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.

3 participants

@tswast @googlebot @dpebot
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.
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.