Skip to content

Commit 3b9a2df

Browse files
committed
fix: website build failed
1 parent 7b4482f commit 3b9a2df

2 files changed

Lines changed: 0 additions & 25 deletions

File tree

immutable/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ Wikipedia says
3333

3434
> In object-oriented and functional programming, an immutable object (unchangeable object) is an object whose state cannot be modified after it is created. This is in contrast to a mutable object (changeable object), which can be modified after it is created.
3535
36-
Class diagram
37-
38-
![Immutable class diagram](./etc/immutable.urm.puml)
39-
4036
## Programmatic Example of Immutable Pattern in Java
4137

4238
The core of the pattern is `ImmutableUser`. All fields are `final`, the mutable `roles` list is defensively copied via `List.copyOf`, and "mutation" is expressed by returning a new instance.

immutable/etc/immutable.urm.puml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)