Skip to content

Commit

Permalink
Fix whitespace problems in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Nov 1, 2024
1 parent 1d16eaa commit e98bca8
Showing 1 changed file with 6 additions and 2 deletions.
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 e98bca8

Please sign in to comment.