From ca2a11f0b7b29fea09d9163809c973a9b4801f08 Mon Sep 17 00:00:00 2001 From: Lukas Dohmen Date: Sun, 19 May 2024 11:55:42 +0200 Subject: [PATCH] Polishing: Remove unnecessary module property --- .../java/org/springframework/modulith/docs/Asciidoctor.java | 2 +- .../main/java/org/springframework/modulith/docs/Documenter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-modulith-docs/src/main/java/org/springframework/modulith/docs/Asciidoctor.java b/spring-modulith-docs/src/main/java/org/springframework/modulith/docs/Asciidoctor.java index 93c2de0a9..a3ede7657 100644 --- a/spring-modulith-docs/src/main/java/org/springframework/modulith/docs/Asciidoctor.java +++ b/spring-modulith-docs/src/main/java/org/springframework/modulith/docs/Asciidoctor.java @@ -192,7 +192,7 @@ public String renderEvents(ApplicationModule module) { return builder.toString(); } - public String renderConfigurationProperties(ApplicationModule module, List properties) { + public String renderConfigurationProperties(List properties) { if (properties.isEmpty()) { return "none"; 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 f54d0711d..5a8049cd8 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 @@ -347,7 +347,7 @@ String toModuleCanvas(ApplicationModule module, CanvasOptions options) { // Properties .append(addTableRow("Properties", - asciidoctor.renderConfigurationProperties(module, properties.getModuleProperties(module)), options)) // + asciidoctor.renderConfigurationProperties(properties.getModuleProperties(module)), options)) // .append(startOrEndTable()) .toString(); }