File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
client/deployment/src/main/resources/templates/libraries/microprofile Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,11 @@ public class {m.classname} {#if m.parent}extends {m.parent}{/if}{#if serializabl
103103 }
104104 {/if}
105105 {#if v.isMap}
106- public {m.classname} put{v.nameInPascalCase}Item(String key , {v.items.datatypeWithEnum} {v.name}Item) {
106+ public {m.classname} put{v.nameInPascalCase}Item(String mapKey , {v.items.datatypeWithEnum} {v.name}Item) {
107107 if (this.{v.name} == null){
108108 {v.name} = {#if v.defaultValue}{v.defaultValue}{#else}new HashMap<>(){/if};
109109 }
110- this.{v.name}.put(key , {v.name}Item);
110+ this.{v.name}.put(mapKey , {v.name}Item);
111111 return this;
112112 }
113113 {/if}
Original file line number Diff line number Diff line change 8989 }
9090 {/if}
9191 {#if v.isMap}
92- public {m.classname}QueryParam put{v.nameInPascalCase}Item(String key , {v.items.datatypeWithEnum} {v.name}Item) {
93- this.{v.name}.put(key , {v.name}Item);
92+ public {m.classname}QueryParam put{v.nameInPascalCase}Item(String mapKey , {v.items.datatypeWithEnum} {v.name}Item) {
93+ this.{v.name}.put(mapKey , {v.name}Item);
9494 return this;
9595 }
9696 {/if}
You can’t perform that action at this time.
0 commit comments