Skip to content

Commit

Permalink
Bump formatter-maven-plugin from 2.18.0 to 2.23.0 (#332)
Browse files Browse the repository at this point in the history
* Bump formatter-maven-plugin from 2.18.0 to 2.23.0

Bumps [formatter-maven-plugin](https://github.com/revelc/formatter-maven-plugin) from 2.18.0 to 2.23.0.
- [Changelog](https://github.com/revelc/formatter-maven-plugin/blob/formatter-maven-plugin-2.23.0/CHANGELOG.md)
- [Commits](revelc/formatter-maven-plugin@formatter-maven-plugin-2.18.0...formatter-maven-plugin-2.23.0)

---
updated-dependencies:
- dependency-name: net.revelc.code.formatter:formatter-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update ConstraintViolations.java

* Update ValidationTest.java

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Toshiaki Maki <makingx@gmail.com>
  • Loading branch information
dependabot[bot] and making committed Jul 19, 2023
1 parent c7af0e0 commit d346405
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<version>2.18.0</version>
<version>2.23.0</version>
<configuration>
<configFile>${project.basedir}/src/etc/eclipse-code-formatter.xml</configFile>
<encoding>UTF-8</encoding>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/am/ik/yavi/core/ConstraintViolations.java
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ public final int size() {
*
* <pre>
* {@code
* list.subList(from, to).clear();
* list.subList(from, to).clear();
* }
* </pre>
*
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/am/ik/yavi/fn/ValidationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ void orElseThrowFailure() {
assertThatThrownBy(() -> Validation
.<String, String> failure(Arrays.asList("e1", "e2"))
.orElseThrow(errors -> new IllegalArgumentException("errors=" + errors)))
.hasMessage("errors=[e1, e2]")
.isInstanceOf(IllegalArgumentException.class);
.hasMessage("errors=[e1, e2]")
.isInstanceOf(IllegalArgumentException.class);
}

@Test
Expand All @@ -219,4 +219,4 @@ void orElseGetFailure() {
.orElseGet(errors -> String.join(",", errors));
assertThat(s).isEqualTo("e1,e2");
}
}
}

0 comments on commit d346405

Please sign in to comment.