Commit 4a11208
committed
Re-use GrailsNameUtils property logic instead of separate logic
Re-use GrailsNameUtils.getPropertyForGetter from ClassPropertyFetcher instead of having
separate (and wrong) logic.
This commit has a small behavioral change in that the old code would register both
"Property" and "property" for a static property with a getter "getProperty" in
ClassPropertyFetcher. With improved property name derivation that should not be
necessary anymore.1 parent f3f0c89 commit 4a11208
File tree
1 file changed
+18
-27
lines changed- grails-core/src/main/groovy/org/grails/core/util
1 file changed
+18
-27
lines changedLines changed: 18 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
156 | 147 | | |
157 | 148 | | |
158 | 149 | | |
| |||
0 commit comments