Skip to content

Commit

Permalink
No message
Browse files Browse the repository at this point in the history
  • Loading branch information
finesoft committed Aug 5, 2024
1 parent 0c2ba96 commit 6707b31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public Map<String, Method> getPropertyGetters() {
return propertyGetters;
}

public List<PropertyMetadata> getPropertyMethods() {
public List<PropertyMetadata> getPropertyMetadata() {
return Sets.union(propertyGetters.keySet(), propertySetters.keySet()).stream()
.map(p -> new PropertyMetadata(p, propertyGetters.get(p), propertySetters.get(p))).toList();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public static ConfigMetaClass declarative(Class<?> clazz) {
}

if (injectStrategy != InjectStrategy.FIELD) {
List<PropertyMetadata> propertyMethods = new PropertyAccessor(klass).getPropertyMethods();
List<PropertyMetadata> propertyMethods = new PropertyAccessor(klass).getPropertyMetadata();
for (PropertyMetadata pm : propertyMethods) {
if (pm.getWriteMethod() == null) {
continue;
Expand Down

0 comments on commit 6707b31

Please sign in to comment.