Skip to content

Commit

Permalink
Merge pull request #1216 from uhafner/dependabot/maven/com.puppycrawl…
Browse files Browse the repository at this point in the history
….tools-checkstyle-10.20.0

Bump com.puppycrawl.tools:checkstyle from 10.18.2 to 10.20.0
  • Loading branch information
uhafner authored Nov 1, 2024
2 parents 0a35006 + e98bca8 commit 1333aa5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<maven-pmd-plugin.version>3.26.0</maven-pmd-plugin.version>
<pmd.version>7.7.0</pmd.version>
<maven-checkstyle-plugin.version>3.6.0</maven-checkstyle-plugin.version>
<checkstyle.version>10.18.2</checkstyle.version>
<checkstyle.version>10.20.0</checkstyle.version>
<spotbugs-maven-plugin.version>4.8.6.5</spotbugs-maven-plugin.version>
<findsecbugs-plugin.version>1.13.0</findsecbugs-plugin.version>
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/edu/hm/hafner/util/Ensure.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* Note: the static methods provided by this class use a fluent interface, i.e., in order to verify an assertion a
* method sequence needs to be called.
* </p>
*
* <p>
* Available checks:
* </p>
Expand Down
8 changes: 6 additions & 2 deletions src/test/java/edu/hm/hafner/util/ResourceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ protected Path createTempFile() {
* Reads all the bytes from a file. The method ensures that the file is closed when all bytes have been read or an
* I/O error, or other runtime exception, is thrown.
*
* <p> Note that this method is intended for simple cases where it is
* <p>
* Note that this method is intended for simple cases where it is
* convenient to read all bytes into a byte array. It is not intended for reading in large files.
* </p>
*
Expand All @@ -85,7 +86,8 @@ protected byte[] readAllBytes(final String fileName) {
* Reads all the bytes from a file. The method ensures that the file is closed when all bytes have been read or an
* I/O error, or other runtime exception, is thrown.
*
* <p> Note that this method is intended for simple cases where it is
* <p>
* Note that this method is intended for simple cases where it is
* convenient to read all bytes into a byte array. It is not intended for reading in large files.
* </p>
*
Expand Down Expand Up @@ -113,6 +115,7 @@ private Path getPath(final String name) throws URISyntaxException {
/**
* Read all lines from the desired resource as a {@code Stream}, i.e. this method populates lazily as the stream is
* consumed.
*
* <p>
* Bytes from the resource are decoded into characters using UTF-8 and the same line terminators as specified by
* {@link Files#readAllLines(Path, Charset)} are supported.
Expand All @@ -131,6 +134,7 @@ protected Stream<String> asStream(final String fileName) {
/**
* Read all lines from the desired resource as a {@code Stream}, i.e. this method populates lazily as the stream is
* consumed.
*
* <p>
* Bytes from the resource are decoded into characters using the specified charset and the same line terminators as
* specified by {@link Files#readAllLines(Path, Charset)} are supported.
Expand Down

0 comments on commit 1333aa5

Please sign in to comment.