diff --git a/pom.xml b/pom.xml index 24f8abf6..26c8c913 100644 --- a/pom.xml +++ b/pom.xml @@ -92,7 +92,7 @@ 3.26.0 7.7.0 3.6.0 - 10.18.2 + 10.20.0 4.8.6.5 1.13.0 0.8.12 diff --git a/src/main/java/edu/hm/hafner/util/Ensure.java b/src/main/java/edu/hm/hafner/util/Ensure.java index 0cd34bfe..8e35d47c 100644 --- a/src/main/java/edu/hm/hafner/util/Ensure.java +++ b/src/main/java/edu/hm/hafner/util/Ensure.java @@ -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. *

+ * *

* Available checks: *

diff --git a/src/test/java/edu/hm/hafner/util/ResourceTest.java b/src/test/java/edu/hm/hafner/util/ResourceTest.java index 0ab3eedb..f690e5de 100644 --- a/src/test/java/edu/hm/hafner/util/ResourceTest.java +++ b/src/test/java/edu/hm/hafner/util/ResourceTest.java @@ -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. * - *

Note that this method is intended for simple cases where it is + *

+ * 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. *

* @@ -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. * - *

Note that this method is intended for simple cases where it is + *

+ * 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. *

* @@ -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. + * *

* 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. @@ -131,6 +134,7 @@ protected Stream 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. + * *

* 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.