Skip to content

Commit b37105b

Browse files
committed
test(flagd): demoing checkstyle and spotless - do not merge
Signed-off-by: Simon Schrottner <[email protected]>
1 parent fa55261 commit b37105b

File tree

2 files changed

+42
-41
lines changed

2 files changed

+42
-41
lines changed

pom.xml

+40-40
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,46 @@
435435
</execution>
436436
</executions>
437437
</plugin>
438+
<plugin>
439+
<groupId>com.diffplug.spotless</groupId>
440+
<artifactId>spotless-maven-plugin</artifactId>
441+
<version>2.30.0</version>
442+
<configuration>
443+
<!-- optional: limit format enforcement to just the files changed by this feature branch -->
444+
<!-- <ratchetFrom>origin/main</ratchetFrom>-->
445+
<formats>
446+
<!-- you can define as many formats as you want, each is independent -->
447+
<format>
448+
<!-- define the files to apply to -->
449+
<includes>
450+
<include>.gitattributes</include>
451+
<include>.gitignore</include>
452+
</includes>
453+
<!-- define the steps to apply to those files -->
454+
<trimTrailingWhitespace/>
455+
<endWithNewline/>
456+
<indent>
457+
<spaces>true</spaces>
458+
<spacesPerTab>4</spacesPerTab>
459+
</indent>
460+
</format>
461+
</formats>
462+
<!-- define a language-specific format -->
463+
<java>
464+
<palantirJavaFormat/>
465+
466+
<indent>
467+
<spaces>true</spaces>
468+
<spacesPerTab>4</spacesPerTab>
469+
</indent>
470+
<importOrder/>
471+
472+
<removeUnusedImports/>
473+
<formatAnnotations/>
474+
475+
</java>
476+
</configuration>
477+
</plugin>
438478
</plugins>
439479
</build>
440480

@@ -513,46 +553,6 @@
513553
</executions>
514554
</plugin>
515555
<!-- end sign -->
516-
<plugin>
517-
<groupId>com.diffplug.spotless</groupId>
518-
<artifactId>spotless-maven-plugin</artifactId>
519-
<version>2.30.0</version>
520-
<configuration>
521-
<!-- optional: limit format enforcement to just the files changed by this feature branch -->
522-
<!-- <ratchetFrom>origin/main</ratchetFrom>-->
523-
<formats>
524-
<!-- you can define as many formats as you want, each is independent -->
525-
<format>
526-
<!-- define the files to apply to -->
527-
<includes>
528-
<include>.gitattributes</include>
529-
<include>.gitignore</include>
530-
</includes>
531-
<!-- define the steps to apply to those files -->
532-
<trimTrailingWhitespace/>
533-
<endWithNewline/>
534-
<indent>
535-
<spaces>true</spaces>
536-
<spacesPerTab>4</spacesPerTab>
537-
</indent>
538-
</format>
539-
</formats>
540-
<!-- define a language-specific format -->
541-
<java>
542-
<palantirJavaFormat/>
543-
544-
<indent>
545-
<spaces>true</spaces>
546-
<spacesPerTab>4</spacesPerTab>
547-
</indent>
548-
<importOrder/>
549-
550-
<removeUnusedImports/>
551-
<formatAnnotations/>
552-
553-
</java>
554-
</configuration>
555-
</plugin>
556556
</plugins>
557557
</build>
558558
</profile>

src/main/java/dev/openfeature/sdk/EventDetails.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ static EventDetails fromProviderEventDetails(ProviderEventDetails providerEventD
1616
return fromProviderEventDetails(providerEventDetails, providerName, null);
1717
}
1818

19-
static EventDetails fromProviderEventDetails(
19+
static
20+
EventDetails fromProviderEventDetails(
2021
ProviderEventDetails providerEventDetails, String providerName, String domain) {
2122
return builder()
2223
.domain(domain)

0 commit comments

Comments
 (0)