Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The .isEqualTo() method is deprecated for doubles. #324

Merged
merged 1 commit into from
Sep 1, 2016
Merged

Conversation

tswast
Copy link
Contributor

@tswast tswast commented Sep 1, 2016

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.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. 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
[![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).
charlieyu1996 pushed a commit that referenced this pull request Nov 11, 2022
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
[![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
[![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 15, 2022
[![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
Shabirmean pushed a commit that referenced this pull request Nov 17, 2022
Sita04 pushed a commit that referenced this pull request Feb 7, 2023
…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
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants