Skip to content
Permalink
Browse files
deps: update dependency com.coveo:fmt-maven-plugin to v2.12 (#1487)
[![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.googlejavaformat:google-java-format](https://togithub.com/google/google-java-format) | `1.7` -> `1.12.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.googlejavaformat:google-java-format/1.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.googlejavaformat:google-java-format/1.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.googlejavaformat:google-java-format/1.12.0/compatibility-slim/1.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.googlejavaformat:google-java-format/1.12.0/confidence-slim/1.7)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>google/google-java-format</summary>

### [`v1.12.0`](https://togithub.com/google/google-java-format/releases/v1.12.0)

[Compare Source](https://togithub.com/google/google-java-format/compare/v1.11.0...v1.12.0)

##### What's Changed

-   Format type annotation as part of the type, not part of the modifiers list ([google/google-java-format#653)
-   Fix indentation of case statements on JDK 17 ([google/google-java-format#654)

**Full Changelog**: google/google-java-format@v1.11.0...v1.12.0

### [`v1.11.0`](https://togithub.com/google/google-java-format/releases/v1.11.0)

[Compare Source](https://togithub.com/google/google-java-format/compare/v1.10.0...v1.11.0)

`google-java-format` now has improved support for running on JDK 17 early access builds.

Changes:

-   Handle `final` variables in `instanceof` patterns ([#&#8203;588](https://togithub.com/google/google-java-format/issues/588))
-   Fix handling of annotations in compact record constructors ([#&#8203;574](https://togithub.com/google/google-java-format/issues/574))
-   Fix a crash in `instanceof` pattern handling ([#&#8203;594](https://togithub.com/google/google-java-format/issues/594))
-   Wrap multiple values in switch expression case ([#&#8203;540](https://togithub.com/google/google-java-format/issues/540))
-   Fix formatting of module trees after [JDK-8255464](https://bugs.openjdk.java.net/browse/JDK-8255464)
-   Support `sealed` classes ([#&#8203;603](https://togithub.com/google/google-java-format/issues/603))

### [`v1.10.0`](https://togithub.com/google/google-java-format/releases/v1.10.0)

`google-java-format` now supports running on JDK 16. The following flags are required when running on JDK 16, due to [JEP 396: Strongly Encapsulate JDK Internals by Default](https://openjdk.java.net/jeps/396):

    java \
      --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
      --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
      --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
      --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
      --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
      -jar google-java-format-1.10.0-all-deps.jar T...

Other changes:

-   Handle extra `;` in import lists (google/google-java-format@b769e81)
-   Add missing space between unary `-` and negative literals (google/google-java-format@6da736d)
-   Fix an off-by-one issue on the reflowing of string literals (google/google-java-format@b9fd8d2)

</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/google-http-java-client).
  • Loading branch information
renovate-bot committed Nov 17, 2021
1 parent ded05ac commit 8b1b8f280774115d0521e0f5eada6dd0ef995ca2
Showing with 3 additions and 21 deletions.
  1. +1 −9 google-http-client-bom/pom.xml
  2. +1 −3 google-http-client/src/test/java/com/google/api/client/http/HttpRequestTracingTest.java
  3. +1 −9 pom.xml
@@ -144,18 +144,10 @@
<plugin>
<groupId>com.coveo</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>2.9</version>
<version>2.12</version>
<configuration>
<style>google</style>
<verbose>true</verbose>
</configuration>
<dependencies>
<dependency>
<groupId>com.google.googlejavaformat</groupId>
<artifactId>google-java-format</artifactId>
<version>1.7</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
@@ -44,9 +44,7 @@ public class HttpRequestTracingTest {
public void setupTestTracer() {
Tracing.getExportComponent().getSpanExporter().registerHandler("test", testHandler);
TraceParams params =
Tracing.getTraceConfig()
.getActiveTraceParams()
.toBuilder()
Tracing.getTraceConfig().getActiveTraceParams().toBuilder()
.setSampler(Samplers.alwaysSample())
.build();
Tracing.getTraceConfig().updateActiveTraceParams(params);
10 pom.xml
@@ -542,18 +542,10 @@
<plugin>
<groupId>com.coveo</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>2.9</version>
<version>2.12</version>
<configuration>
<style>google</style>
<verbose>true</verbose>
</configuration>
<dependencies>
<dependency>
<groupId>com.google.googlejavaformat</groupId>
<artifactId>google-java-format</artifactId>
<version>1.7</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>

0 comments on commit 8b1b8f2

Please sign in to comment.