From 72762faf4da3d0dbe23959a69e76d1327f6905d6 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Wed, 17 Jan 2024 18:03:32 +0100 Subject: [PATCH] GH-462 - Upgrade to latest Structurizr. Core 1.18 -> 1.29 Export 1.8.3 -> 1.19.0 --- spring-modulith-docs/pom.xml | 4 ++-- .../java/org/springframework/modulith/docs/Documenter.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-modulith-docs/pom.xml b/spring-modulith-docs/pom.xml index b1cf562e3..607962a60 100644 --- a/spring-modulith-docs/pom.xml +++ b/spring-modulith-docs/pom.xml @@ -26,7 +26,7 @@ com.structurizr structurizr-core - 1.18.0 + 1.29.0 @@ -38,7 +38,7 @@ com.structurizr structurizr-export - 1.8.3 + 1.19.0 diff --git a/spring-modulith-docs/src/main/java/org/springframework/modulith/docs/Documenter.java b/spring-modulith-docs/src/main/java/org/springframework/modulith/docs/Documenter.java index e8e4e10ec..3c8f7ab7c 100644 --- a/spring-modulith-docs/src/main/java/org/springframework/modulith/docs/Documenter.java +++ b/spring-modulith-docs/src/main/java/org/springframework/modulith/docs/Documenter.java @@ -62,10 +62,10 @@ import com.structurizr.model.SoftwareSystem; import com.structurizr.model.Tags; import com.structurizr.view.ComponentView; +import com.structurizr.view.ModelView; import com.structurizr.view.RelationshipView; import com.structurizr.view.Shape; import com.structurizr.view.Styles; -import com.structurizr.view.View; import com.tngtech.archunit.core.domain.JavaClass; /** @@ -456,7 +456,7 @@ private void addComponentsToView(Supplier> modules, Co .forEach(it -> potentiallyRemoveDefaultRelationship(view, it)); } - private void potentiallyRemoveDefaultRelationship(View view, Collection relationships) { + private void potentiallyRemoveDefaultRelationship(ModelView view, Collection relationships) { if (relationships.size() <= 1) { return;