forked from jcabi/jcabi-immutable
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jcabi#37 - Limitation: Encapsulated objects with exposed mutators can…
… mutate their state
- Loading branch information
1 parent
a5bca38
commit bd478b4
Showing
6 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,8 @@ | |
* <p>This class is truly immutable. This means that it never changes | ||
* its encapsulated values and is annotated with {@code @Immutable} | ||
* annotation. | ||
* <p> | ||
* Limitation: Encapsulated objects with exposed mutators can mutate their state. | ||
* | ||
* @param <T> Value key type | ||
* @author Yegor Bugayenko ([email protected]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,8 @@ | |
* <p>This class is truly immutable. This means that it never changes | ||
* its encapsulated values and is annotated with {@code @Immutable} | ||
* annotation. | ||
* <p> | ||
* Limitation: Encapsulated objects with exposed mutators can mutate their state. | ||
* | ||
* @param <T> Value key type | ||
* @author Yegor Bugayenko ([email protected]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,8 @@ | |
* <p>This class is truly immutable. This means that it never changes | ||
* its encapsulated values and is annotated with {@code @Immutable} | ||
* annotation. | ||
* <p> | ||
* Limitation: Encapsulated objects with exposed mutators can mutate their state. | ||
* | ||
* @param <T> Value key type | ||
* @author Yegor Bugayenko ([email protected]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters