Commit 8c2c131
committed
fix: remove constructed objects from cache #125
When we cannot fill an object via reflection (e.g. records), then we
need to remove the object from the cache after we created it. We need to do this
in order to actually fill sets with more than one member1 parent 3e7901f commit 8c2c131
2 files changed
Lines changed: 12 additions & 1 deletion
File tree
- src
- main/java/com/github/nylle/javafixture/specimen
- test/java/com/github/nylle/javafixture/specimen
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
144 | 155 | | |
145 | 156 | | |
146 | 157 | | |
| |||
0 commit comments