Commit 58724d7
Fix ResourceGenerator to handle resources with more than 10 properties
Java's Map.of(...) only supports overloads up to 10 key-value pairs. Since
resources can have more than 10 properties the Map.ofEntries(...) factory
method must be used in instead to prevent compilation errors.1 parent ec5fcfb commit 58724d7
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- codegen/codegen-core/src/main/java/software/amazon/smithy/java/codegen/generators
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
0 commit comments