Skip to content

Commit

Permalink
GH-462 - Upgrade to latest Structurizr.
Browse files Browse the repository at this point in the history
Core 1.18 -> 1.29
Export 1.8.3 -> 1.19.0
  • Loading branch information
odrotbohm committed Jan 17, 2024
1 parent 3486b11 commit 72762fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spring-modulith-docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<dependency>
<groupId>com.structurizr</groupId>
<artifactId>structurizr-core</artifactId>
<version>1.18.0</version>
<version>1.29.0</version>
</dependency>

<dependency>
Expand All @@ -38,7 +38,7 @@
<dependency>
<groupId>com.structurizr</groupId>
<artifactId>structurizr-export</artifactId>
<version>1.8.3</version>
<version>1.19.0</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down Expand Up @@ -456,7 +456,7 @@ private void addComponentsToView(Supplier<Stream<ApplicationModule>> modules, Co
.forEach(it -> potentiallyRemoveDefaultRelationship(view, it));
}

private void potentiallyRemoveDefaultRelationship(View view, Collection<Relationship> relationships) {
private void potentiallyRemoveDefaultRelationship(ModelView view, Collection<Relationship> relationships) {

if (relationships.size() <= 1) {
return;
Expand Down

0 comments on commit 72762fa

Please sign in to comment.