Commit c244f56
authored
Make typed apply method public in MCP Tool base class (#26228)
* Make typed apply method public in MCP Tool base class
The abstract `apply(PermissionHelper, P)` method was protected, limiting
direct invocation of tools with typed parameters to subclasses only.
Widening to public allows other components to reuse tool logic without
needing adapter subclasses solely for visibility.
Co-Authored-By: Claude Opus 4.6 <[EMAIL_ADDRESS_REDACTED]>
* Add changelog
* Remove unnecessary changelog1 parent c04fce0 commit c244f56
2 files changed
Lines changed: 10 additions & 2 deletions
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
154 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
155 | 163 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments