Skip to content

Commit 53675cc

Browse files
committed
eclipse test
1 parent b8ad08e commit 53675cc

File tree

262 files changed

+5126
-6115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+5126
-6115
lines changed

.github/workflows/_static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
cache: "maven"
2121

2222
- name: Check Code Style
23-
run: mvn --update-snapshots --no-transfer-progress checkstyle:check spotless:check
23+
run: mvn --update-snapshots --no-transfer-progress spotless:check

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ hs_err_pid*
3636
.idea
3737
*.iml
3838
.run
39+
.project
40+
.settings
3941

4042
# Mac OS
4143
.DS_Store

checkstyle.xml

Lines changed: 0 additions & 392 deletions
This file was deleted.

eclipse-formatter.xml

Lines changed: 405 additions & 0 deletions
Large diffs are not rendered by default.

pom.xml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -94,25 +94,6 @@
9494
<target>1.8</target>
9595
</configuration>
9696
</plugin>
97-
<plugin>
98-
<groupId>org.apache.maven.plugins</groupId>
99-
<artifactId>maven-checkstyle-plugin</artifactId>
100-
<version>3.6.0</version>
101-
<dependencies>
102-
<dependency>
103-
<groupId>com.puppycrawl.tools</groupId>
104-
<artifactId>checkstyle</artifactId>
105-
<!-- Version 10.x is the last with JRE 11 support -->
106-
<version>10.14.2</version>
107-
</dependency>
108-
</dependencies>
109-
<configuration>
110-
<configLocation>checkstyle.xml</configLocation>
111-
<consoleOutput>true</consoleOutput>
112-
<failsOnError>true</failsOnError>
113-
<violationSeverity>error</violationSeverity>
114-
</configuration>
115-
</plugin>
11697
<plugin>
11798
<groupId>com.diffplug.spotless</groupId>
11899
<artifactId>spotless-maven-plugin</artifactId>
@@ -122,6 +103,9 @@
122103
<java>
123104
<importOrder/>
124105
<removeUnusedImports />
106+
<eclipse>
107+
<file>${project.basedir}/eclipse-formatter.xml</file>
108+
</eclipse>
125109
<formatAnnotations />
126110
</java>
127111
</configuration>

src/main/java/com/mindee/AsyncPollingOptions.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ public class AsyncPollingOptions {
2222
Integer maxRetries;
2323

2424
@Builder
25-
private AsyncPollingOptions(
26-
Double initialDelaySec,
27-
Double intervalSec,
28-
Integer maxRetries
29-
) {
25+
private AsyncPollingOptions(Double initialDelaySec, Double intervalSec, Integer maxRetries) {
3026
this.initialDelaySec = initialDelaySec == null ? 2.0 : initialDelaySec;
3127
this.intervalSec = intervalSec == null ? 1.5 : intervalSec;
3228
this.maxRetries = maxRetries == null ? 80 : maxRetries;

0 commit comments

Comments
 (0)