This is an automated email from the ASF dual-hosted git repository. ahuber pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push: new b4e1b03f1c ISIS-3304: minor cleanup after prev. commit b4e1b03f1c is described below commit b4e1b03f1c9e009a76516d07bf48bbd28e5606ef Author: Andi Huber <ahu...@apache.org> AuthorDate: Fri Jan 13 20:00:00 2023 +0100 ISIS-3304: minor cleanup after prev. commit --- .../java/org/apache/causeway/applib/util/JaxbUtilsDtoCloneTest.java | 3 +-- .../main/java/org/apache/causeway/commons/internal/base/_Bytes.java | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/api/applib/src/test/java/org/apache/causeway/applib/util/JaxbUtilsDtoCloneTest.java b/api/applib/src/test/java/org/apache/causeway/applib/util/JaxbUtilsDtoCloneTest.java index 7036cf6706..1d8cb076ad 100644 --- a/api/applib/src/test/java/org/apache/causeway/applib/util/JaxbUtilsDtoCloneTest.java +++ b/api/applib/src/test/java/org/apache/causeway/applib/util/JaxbUtilsDtoCloneTest.java @@ -32,8 +32,6 @@ import lombok.val; class JaxbUtilsDtoCloneTest { - ActionInvocationDto x; - @Test void dtoCloning() { @@ -79,6 +77,7 @@ class JaxbUtilsDtoCloneTest { val dto = mapper.read(DataSource.ofBytes(dtoAsBytes)); assertNotNull(dto); + assertEquals(ActionInvocationDto.class, dto.getClass()); } } diff --git a/commons/src/main/java/org/apache/causeway/commons/internal/base/_Bytes.java b/commons/src/main/java/org/apache/causeway/commons/internal/base/_Bytes.java index 4a88b91c1c..9d0228ac5e 100644 --- a/commons/src/main/java/org/apache/causeway/commons/internal/base/_Bytes.java +++ b/commons/src/main/java/org/apache/causeway/commons/internal/base/_Bytes.java @@ -141,7 +141,7 @@ public final class _Bytes { /** * Converts given byte array into a space separated list of 2 character fixed length hex numbers. - * @apiNote future extension code support pretty printing, as for now the resulting string is a single line + * @apiNote future extensions may support pretty printing, but for now the resulting string is just a single line * @see #ofHexDump(String) */ public static String hexDump(final @Nullable byte[] bytes) {