Skip to content

Commit

Permalink
Bump com.diffplug.spotless:spotless-maven-plugin from 2.43.0 to 2.44.1
Browse files Browse the repository at this point in the history
Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless) from 2.43.0 to 2.44.1.
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](diffplug/spotless@lib/2.43.0...maven/2.44.1)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and lukas-krecan committed Jan 10, 2025
1 parent 70d32b5 commit 5638288
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fun bePresent(): Matcher<Any?> = Matcher { actual ->
MatcherResult(
!node.isMissingNode,
{ "Node \"${getPathPrefix(actual)}\" is missing." },
{ "Node \"${getPathPrefix(actual)}\" is present." }
{ "Node \"${getPathPrefix(actual)}\" is present." },
)
}

Expand All @@ -80,7 +80,7 @@ private fun beType(expectedType: NodeType): Matcher<Any?> =
},
{
"Node \"${getPathPrefix(actual)}\" has invalid type, expected to not be ${expectedType.description} but was: <$node>."
}
},
)
}

Expand Down Expand Up @@ -113,5 +113,6 @@ fun Any?.shouldBeJsonArray(): List<*> {
/** Asserts that JSON node is present, is an object and returns the value as [Map]. */
fun Any?.shouldBeJsonObject(): Map<String, *> {
this should beJsonObject()
@Suppress("UNCHECKED_CAST") return getNode(this).value as Map<String, *>
@Suppress("UNCHECKED_CAST")
return getNode(this).value as Map<String, *>
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.43.0</version>
<version>2.44.1</version>
<configuration>
<java>
<palantirJavaFormat><version>2.50.0</version></palantirJavaFormat>
Expand Down

0 comments on commit 5638288

Please sign in to comment.