Commit ac7fe5f
Bump com.google.errorprone:error_prone_core from 2.36.0 to 2.37.0 (#1311)
Bumps
[com.google.errorprone:error_prone_core](https://github.com/google/error-prone)
from 2.36.0 to 2.37.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/error-prone/releases">com.google.errorprone:error_prone_core's
releases</a>.</em></p>
<blockquote>
<h2>Error Prone 2.37.0</h2>
<p>Changes:</p>
<ul>
<li>The annotations that were previously in
<code>error_prone_type_annotations</code> have been been merged into
<code>error_prone_annotations</code>.
<code>error_prone_type_annotations</code> is now deprecated, and will be
removed in a future release.</li>
</ul>
<p>New checks:</p>
<ul>
<li><a
href="https://errorprone.info/bugpattern/AssignmentExpression"><code>AssignmentExpression</code></a>
- The use of an assignment expression can be surprising and hard to
read; consider factoring out the assignment to a separate
statement.</li>
<li><a
href="https://errorprone.info/bugpattern/IntFloatConversion"><code>IntFloatConversion</code></a>
- Detect calls to <code>scalb</code> that should be using the double
overload instead</li>
<li><a
href="https://errorprone.info/bugpattern/InvalidSnippet"><code>InvalidSnippet</code></a>
- Detects snippets which omit the <code>:</code> required for inline
code.</li>
<li><a
href="https://errorprone.info/bugpattern/JUnit4EmptyMethods"><code>JUnit4EmptyMethods</code></a>
- Detects empty JUnit4 <code>@before</code>, <code>@after</code>,
<code>@BeforeClass</code>, and <code>@afterclass</code> methods.</li>
<li><a
href="https://errorprone.info/bugpattern/MockIllegalThrows"><code>MockIllegalThrows</code></a>
- Detects cases where Mockito is configured to throw checked exception
types which are impossible.</li>
<li><a
href="https://errorprone.info/bugpattern/NegativeBoolean"><code>NegativeBoolean</code></a>
- Prefer positive boolean names.</li>
<li><a
href="https://errorprone.info/bugpattern/RuleNotRun"><code>RuleNotRun</code></a>
- Detects <code>TestRule</code>s not annotated with <code>@rule</code>,
that won't be run.</li>
<li><a
href="https://errorprone.info/bugpattern/StringConcatToTextBlock"><code>StringConcatToTextBlock</code></a>
- Replaces concatenated multiline strings with text blocks.</li>
<li><a
href="https://errorprone.info/bugpattern/TimeInStaticInitializer"><code>TimeInStaticInitializer</code></a>
- Detects accesses of the system time in static contexts.</li>
</ul>
<p>Closed issues:</p>
<ul>
<li>Propagate check flags in patch mode (<a
href="https://redirect.github.com/google/error-prone/issues/4699">#4699</a>)</li>
<li>Fixes a crash in ComputeIfAbsentAmbiguousReference (<a
href="https://redirect.github.com/google/error-prone/issues/4736">#4736</a>)</li>
<li>Show the field name in HidingField diagnostics (<a
href="https://redirect.github.com/google/error-prone/issues/4775">#4775</a>)</li>
<li>Add support for jakarta annotations to some checks (<a
href="https://redirect.github.com/google/error-prone/issues/4782">#4782</a>)</li>
<li>FloatingPointAssertionWithinEpsilonTest depends on default locale
(<a
href="https://redirect.github.com/google/error-prone/issues/4815">#4815</a>)</li>
<li><code>@InlineMe</code> patching of <code>Strings.repeat</code>
produces broken code (<a
href="https://redirect.github.com/google/error-prone/issues/4819">#4819</a>)</li>
<li>Fix a crash in IdentifierName on unnamed (<code>_</code>) variables
(<a
href="https://redirect.github.com/google/error-prone/issues/4847">#4847</a>)</li>
<li>Fix a crash in ArgumentParameterSwap (<a
href="https://redirect.github.com/google/error-prone/issues/490">#490</a>)</li>
</ul>
<p>Full changelog: <a
href="https://github.com/google/error-prone/compare/v2.36.0...v2.37.0">https://github.com/google/error-prone/compare/v2.36.0...v2.37.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/google/error-prone/commit/a453935902c54691dc729607977a533bef0a4d2d"><code>a453935</code></a>
Release Error Prone 2.37.0</li>
<li><a
href="https://github.com/google/error-prone/commit/81faa5aed9cc3ddb38ff97d2ef497e44cd289c0d"><code>81faa5a</code></a>
Update JDK versions in release.yml</li>
<li><a
href="https://github.com/google/error-prone/commit/62086b7aebcda62d901434ff6a445b0ec68ac75a"><code>62086b7</code></a>
Handle multiple arguments in <code>thenThrow</code>.</li>
<li><a
href="https://github.com/google/error-prone/commit/7440ff184cb9ba73cea6d1065604ba776233abcd"><code>7440ff1</code></a>
In StringConcatToTextBlock, don't assume that string literals always
have sou...</li>
<li><a
href="https://github.com/google/error-prone/commit/04fe8357e885ff17990b0558379bbe158397b23c"><code>04fe835</code></a>
Adds type_annotations back but as a relocation to annotations</li>
<li><a
href="https://github.com/google/error-prone/commit/1ad73c255adec4a7c4bb2579f1cfdef2c02cc73b"><code>1ad73c2</code></a>
Handle <code>yield</code> in Reachability</li>
<li><a
href="https://github.com/google/error-prone/commit/b1b521fb8ccac4443d40d4995b2840c48ef3350f"><code>b1b521f</code></a>
Sniff out the canonical constructor using detective work rather than a
flag w...</li>
<li><a
href="https://github.com/google/error-prone/commit/86e5c95f8bbf2ed00f43fe5f17ca3eaeb97c6f0f"><code>86e5c95</code></a>
Optimization: Abort class scan in <code>JUnit4TestNotRun</code> if all
suspicious method...</li>
<li><a
href="https://github.com/google/error-prone/commit/c139e7f6bcd655388d0976d28083f0153ba1036c"><code>c139e7f</code></a>
[StatementSwitchToExpressionSwitch] for the return switch pattern, fix a
bug ...</li>
<li><a
href="https://github.com/google/error-prone/commit/296fb4e0e4752c7c2e9752da612224d40ecdf2d1"><code>296fb4e</code></a>
Hardcode <code>BoxedPrimitiveEquality:ExemptStaticConstants =
false</code>.</li>
<li>Additional commits viewable in <a
href="https://github.com/google/error-prone/compare/v2.36.0...v2.37.0">compare
view</a></li>
</ul>
</details>
<br />
[](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)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 <dependency name> 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)
</details>
---------
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Gregor Zeitlinger <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gregor Zeitlinger <[email protected]>1 parent 8595e87 commit ac7fe5f
File tree
21 files changed
+799
-627
lines changed- prometheus-metrics-core/src/test/java/io/prometheus/metrics/core/metrics
- prometheus-metrics-exporter-httpserver/src/main/java/io/prometheus/metrics/exporter/httpserver
- prometheus-metrics-exposition-textformats/src/test/java/io/prometheus/metrics/expositionformats
- prometheus-metrics-instrumentation-caffeine/src/test/java/io/prometheus/metrics/instrumentation/caffeine
- prometheus-metrics-instrumentation-dropwizard5/src/test/java/io/prometheus/metrics/instrumentation/dropwizard5
- labels
- prometheus-metrics-instrumentation-guava/src/test/java/io/prometheus/metrics/instrumentation/guava
- prometheus-metrics-instrumentation-jvm/src/test/java/io/prometheus/metrics/instrumentation/jvm
21 files changed
+799
-627
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| |||
Lines changed: 14 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
231 | 226 | | |
232 | 227 | | |
233 | 228 | | |
234 | 229 | | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
247 | 237 | | |
248 | 238 | | |
249 | 239 | | |
| |||
Lines changed: 14 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
135 | 130 | | |
136 | 131 | | |
137 | 132 | | |
138 | 133 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
151 | 141 | | |
152 | 142 | | |
153 | 143 | | |
| |||
Lines changed: 18 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
922 | 922 | | |
923 | 923 | | |
924 | 924 | | |
925 | | - | |
926 | | - | |
927 | | - | |
928 | | - | |
929 | | - | |
930 | | - | |
931 | | - | |
932 | | - | |
933 | | - | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | | - | |
938 | | - | |
939 | | - | |
940 | | - | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
941 | 943 | | |
942 | 944 | | |
943 | 945 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
0 commit comments