Skip to content

Commit

Permalink
Bump com.google.errorprone:error_prone_core from 2.26.1 to 2.27.0 (#1…
Browse files Browse the repository at this point in the history
…9188)

* Bump com.google.errorprone:error_prone_core from 2.26.1 to 2.27.0

Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.26.1 to 2.27.0.
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](google/error-prone@v2.26.1...v2.27.0)

---
updated-dependencies:
- dependency-name: com.google.errorprone:error_prone_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Remove duplicate setter call

Errorprone error: [RedundantSetterCall] customMessage(..) was called twice with the same argument. Setting the same field multiple times is redundant, and could mask a bug.
    (see https://errorprone.info/bugpattern/RedundantSetterCall)
  Did you mean '.webhookUrl(webhookUrl().asString(parameters))'?

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Othello Maurer <othello@graylog.com>
  • Loading branch information
dependabot[bot] and thll committed May 2, 2024
1 parent 5856964 commit a7fafa4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public EventNotificationConfig toNativeEntity(Map<String, ValueReference> parame
.color(color().asString(parameters))
.webhookUrl(webhookUrl().asString(parameters))
.customMessage(customMessage().asString(parameters))
.customMessage(customMessage().asString(parameters))
.iconUrl(iconUrl().asString(parameters))
.timeZone(DateTimeZone.forID(timeZone().asString(parameters)))
.build();
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<commons-validator.version>1.8.0</commons-validator.version>
<commons-io.version>2.16.1</commons-io.version>
<disruptor.version>4.0.0</disruptor.version>
<error-prone.version>2.26.1</error-prone.version>
<error-prone.version>2.27.0</error-prone.version>
<freemarker.version>2.3.32</freemarker.version>
<gelfclient.version>1.5.1</gelfclient.version>
<geoip2.version>4.2.0</geoip2.version>
Expand Down

0 comments on commit a7fafa4

Please sign in to comment.