Skip to content

Commit

Permalink
test(flagd): demoing checkstyle and spotless - do not merge
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
  • Loading branch information
aepfli committed Jan 3, 2025
1 parent fa55261 commit b37105b
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 41 deletions.
80 changes: 40 additions & 40 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,46 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.30.0</version>
<configuration>
<!-- optional: limit format enforcement to just the files changed by this feature branch -->
<!-- <ratchetFrom>origin/main</ratchetFrom>-->
<formats>
<!-- you can define as many formats as you want, each is independent -->
<format>
<!-- define the files to apply to -->
<includes>
<include>.gitattributes</include>
<include>.gitignore</include>
</includes>
<!-- define the steps to apply to those files -->
<trimTrailingWhitespace/>
<endWithNewline/>
<indent>
<spaces>true</spaces>
<spacesPerTab>4</spacesPerTab>
</indent>
</format>
</formats>
<!-- define a language-specific format -->
<java>
<palantirJavaFormat/>

<indent>
<spaces>true</spaces>
<spacesPerTab>4</spacesPerTab>
</indent>
<importOrder/>

<removeUnusedImports/>
<formatAnnotations/>

</java>
</configuration>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -513,46 +553,6 @@
</executions>
</plugin>
<!-- end sign -->
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.30.0</version>
<configuration>
<!-- optional: limit format enforcement to just the files changed by this feature branch -->
<!-- <ratchetFrom>origin/main</ratchetFrom>-->
<formats>
<!-- you can define as many formats as you want, each is independent -->
<format>
<!-- define the files to apply to -->
<includes>
<include>.gitattributes</include>
<include>.gitignore</include>
</includes>
<!-- define the steps to apply to those files -->
<trimTrailingWhitespace/>
<endWithNewline/>
<indent>
<spaces>true</spaces>
<spacesPerTab>4</spacesPerTab>
</indent>
</format>
</formats>
<!-- define a language-specific format -->
<java>
<palantirJavaFormat/>

<indent>
<spaces>true</spaces>
<spacesPerTab>4</spacesPerTab>
</indent>
<importOrder/>

<removeUnusedImports/>
<formatAnnotations/>

</java>
</configuration>
</plugin>
</plugins>
</build>
</profile>
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/dev/openfeature/sdk/EventDetails.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ static EventDetails fromProviderEventDetails(ProviderEventDetails providerEventD
return fromProviderEventDetails(providerEventDetails, providerName, null);
}

static EventDetails fromProviderEventDetails(
static
EventDetails fromProviderEventDetails(
ProviderEventDetails providerEventDetails, String providerName, String domain) {
return builder()
.domain(domain)
Expand Down

0 comments on commit b37105b

Please sign in to comment.