Skip to content

Commit b80802d

Browse files
Promotes ModelView.copyLayoutInformationFrom() to be public, to allow individual view layout information to be merged.
1 parent 06d25b8 commit b80802d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 2.1.0 (unreleased)
44

55
- structurizr-core: `ViewSet.isEmpty()` was missing a check for image views.
6+
- structurizr-core: Promotes `ModelView.copyLayoutInformationFrom()` to be public, to allow individual view layout information to be merged.
67
- structurizr-client: Fixes https://github.com/structurizr/java/issues/257 (Serialization to JSON is not deterministic).
78
- structurizr-dsl: Fixes https://github.com/structurizr/java/issues/252 (DSL parser does not seem to handle curly brackets balance).
89
- structurizr-dsl: Deprecates `!constant`, adds `!const` and `!var` (see https://github.com/structurizr/java/issues/253).

structurizr-core/src/main/java/com/structurizr/view/ModelView.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ public void setLayoutMergeStrategy(LayoutMergeStrategy layoutMergeStrategy) {
369369
*
370370
* @param source the source View
371371
*/
372-
void copyLayoutInformationFrom(@Nonnull ModelView source) {
372+
public void copyLayoutInformationFrom(@Nonnull ModelView source) {
373373
layoutMergeStrategy.copyLayoutInformation(source, this);
374374
}
375375

0 commit comments

Comments
 (0)