Remove internal class GsonPreconditions#2879
Merged
eamonnmcmanus merged 1 commit intogoogle:mainfrom Jul 16, 2025
Merged
Conversation
eamonnmcmanus
approved these changes
Jul 16, 2025
Member
eamonnmcmanus
left a comment
There was a problem hiding this comment.
This is great, thanks! I like the improved exception messages a lot.
mergify bot
added a commit
to ArcadeData/arcadedb
that referenced
this pull request
Sep 14, 2025
…ip ci] Bumps [com.google.code.gson:gson](https://github.com/google/gson) from 2.13.1 to 2.13.2. Release notes *Sourced from [com.google.code.gson:gson's releases](https://github.com/google/gson/releases).* > Gson 2.13.2 > ----------- > > The main changes in this release are just newer dependencies. > > What's Changed > -------------- > > * Improved packaging of JPMS module declaration in Gson jar > This fixes an issue where Eclipse and VS Code users could not refer to the Gson module name `com.google.gson`. See issue [google/gson#2679](https://redirect.github.com/google/gson/issues/2679). > * Remove internal class `GsonPreconditions` by [`@Marcono1234`](https://github.com/Marcono1234) in [google/gson#2879](https://redirect.github.com/google/gson/pull/2879) > * Switch to using central-publishing-maven-plugin by [`@eamonnmcmanus`](https://github.com/eamonnmcmanus) in [google/gson#2900](https://redirect.github.com/google/gson/pull/2900) > > New Contributors > ---------------- > > * [`@MukjepScarlet`](https://github.com/MukjepScarlet) made their first contribution in [google/gson#2852](https://redirect.github.com/google/gson/pull/2852) > * [`@ChrisCraik`](https://github.com/ChrisCraik) made their first contribution in [google/gson#2856](https://redirect.github.com/google/gson/pull/2856) > > **Full Changelog**: <google/gson@gson-parent-2.13.1...gson-parent-2.13.2> Commits * [`686fad7`](google/gson@686fad7) [maven-release-plugin] prepare release gson-parent-2.13.2 * [`c2d252a`](google/gson@c2d252a) Switch to using central-publishing-maven-plugin. ([#2900](https://redirect.github.com/google/gson/issues/2900)) * [`69cb755`](google/gson@69cb755) Bump the github-actions group with 5 updates ([#2894](https://redirect.github.com/google/gson/issues/2894)) * [`ea552c2`](google/gson@ea552c2) Bump the maven group across 1 directory with 3 updates ([#2898](https://redirect.github.com/google/gson/issues/2898)) * [`fdc616d`](google/gson@fdc616d) Set top-level permissions for CodeQL workflow ([#2889](https://redirect.github.com/google/gson/issues/2889)) * [`9334715`](google/gson@9334715) Create scorecard.yml ([#2888](https://redirect.github.com/google/gson/issues/2888)) * [`f7de5c2`](google/gson@f7de5c2) Bump the maven group with 8 updates ([#2885](https://redirect.github.com/google/gson/issues/2885)) * [`8c23cd3`](google/gson@8c23cd3) Update sources to satisfy a new Error Prone check. ([#2887](https://redirect.github.com/google/gson/issues/2887)) * [`5eab3ed`](google/gson@5eab3ed) Bump the github-actions group with 2 updates ([#2886](https://redirect.github.com/google/gson/issues/2886)) * [`5f5c200`](google/gson@5f5c200) Bump the maven group across 1 directory with 10 updates ([#2872](https://redirect.github.com/google/gson/issues/2872)) * Additional commits viewable in [compare view](google/gson@gson-parent-2.13.1...gson-parent-2.13.2) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Instead manually throw exceptions, also with exception messages providing more context
Follow-up for #2878 (review)