Skip to content

Commit

Permalink
fix: Update spotless plugin (#172)
Browse files Browse the repository at this point in the history
This makes spotless work on Java 17
  • Loading branch information
Christopher Kolstad authored Oct 6, 2022
1 parent ab18fb0 commit 73c8607
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<properties>
<version.slf4j>1.7.36</version.slf4j>
<version.log4j2>2.17.2</version.log4j2>
<version.junit5>5.8.2</version.junit5>
<version.okhttp>4.9.3</version.okhttp>
<version.junit5>5.9.0</version.junit5>
<version.okhttp>4.10.0</version.okhttp>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.unleash.specification>4.2.0</version.unleash.specification>
<arguments />
<version.jackson>2.13.3</version.jackson>
<version.jackson>2.13.4</version.jackson>
</properties>

<name>io.getunleash:unleash-client-java</name>
Expand Down Expand Up @@ -326,7 +326,7 @@
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.22.5</version>
<version>2.27.1</version>
<configuration>
<formats>
<format>
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/io/getunleash/util/UnleashConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ public Builder sendMetricsReadTimeoutSeconds(long readTimeoutSeconds) {

/**
* Don't send metrics to Unleash server
*
* @return
*/
public Builder disableMetrics() {
Expand Down Expand Up @@ -591,6 +592,7 @@ private String getBackupFile() {

/**
* Adds a custom http header for authorizing the client
*
* @param apiKey the client key to use to connect to the Unleash Server
* @return
*/
Expand Down

0 comments on commit 73c8607

Please sign in to comment.