Skip to content

Commit

Permalink
Promotes ModelView.copyLayoutInformationFrom() to be public, to all…
Browse files Browse the repository at this point in the history
…ow individual view layout information to be merged.
  • Loading branch information
simonbrowndotje committed Mar 2, 2024
1 parent 06d25b8 commit b80802d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 2.1.0 (unreleased)

- structurizr-core: `ViewSet.isEmpty()` was missing a check for image views.
- structurizr-core: Promotes `ModelView.copyLayoutInformationFrom()` to be public, to allow individual view layout information to be merged.
- structurizr-client: Fixes https://github.com/structurizr/java/issues/257 (Serialization to JSON is not deterministic).
- structurizr-dsl: Fixes https://github.com/structurizr/java/issues/252 (DSL parser does not seem to handle curly brackets balance).
- structurizr-dsl: Deprecates `!constant`, adds `!const` and `!var` (see https://github.com/structurizr/java/issues/253).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public void setLayoutMergeStrategy(LayoutMergeStrategy layoutMergeStrategy) {
*
* @param source the source View
*/
void copyLayoutInformationFrom(@Nonnull ModelView source) {
public void copyLayoutInformationFrom(@Nonnull ModelView source) {
layoutMergeStrategy.copyLayoutInformation(source, this);
}

Expand Down

0 comments on commit b80802d

Please sign in to comment.