You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/09/23 16:19:08 UTC

[isis] branch master updated: ISIS-2437: fixing lombok issue

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 c6986d1  ISIS-2437: fixing lombok issue
c6986d1 is described below

commit c6986d1948b00e2910a69628cc7105abdce5aca1
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed Sep 23 18:18:49 2020 +0200

    ISIS-2437: fixing lombok issue
---
 .../apache/isis/tooling/cli/projdoc/ProjectDocModel.java | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/tooling/cli/src/main/java/org/apache/isis/tooling/cli/projdoc/ProjectDocModel.java b/tooling/cli/src/main/java/org/apache/isis/tooling/cli/projdoc/ProjectDocModel.java
index ff5ed65..ec735f0 100644
--- a/tooling/cli/src/main/java/org/apache/isis/tooling/cli/projdoc/ProjectDocModel.java
+++ b/tooling/cli/src/main/java/org/apache/isis/tooling/cli/projdoc/ProjectDocModel.java
@@ -106,13 +106,13 @@ public class ProjectDocModel {
 
     // -- HELPER
 
+    @RequiredArgsConstructor(staticName = "of")
+    private static class ProjectAndContainerTuple {
+        final ProjectNode projectNode;
+        final Container container;
+    }
+    
     private static class GroupDiagram {
-
-        @RequiredArgsConstructor(staticName = "of")
-        private static class ProjectAndContainerTuple {
-            final ProjectNode projectNode;
-            final Container container;
-        }
         
         private final C4 c4;
         private final List<ProjectNode> projectNodes = new ArrayList<>(); 
@@ -138,7 +138,9 @@ public class ProjectDocModel {
                         return ProjectAndContainerTuple.of(projectNode, container);
                     });
 
-            val adjMatrix = _AdjacencyMatrix.of(tuples, (a, b)->a.projectNode.getChildren().contains(b.projectNode));
+            //XXX lombok issue, not using val here
+            final _AdjacencyMatrix<ProjectAndContainerTuple> adjMatrix = 
+                    _AdjacencyMatrix.of(tuples, (a, b)->a.projectNode.getChildren().contains(b.projectNode));
 
             tuples.forEach(tuple->{
                 adjMatrix.streamNeighbors(tuple)