mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - code cleanup - removed unused param
This commit is contained in:
@@ -1288,8 +1288,8 @@ public class BeanDescriptorManager implements BeanDescriptorMap {
|
||||
} else {
|
||||
final int propertyIndex = pos;
|
||||
prop.setPropertyIndex(propertyIndex);
|
||||
prop.setGetter(beanReflect.getGetter(propName, propertyIndex));
|
||||
prop.setSetter(beanReflect.getSetter(propName, propertyIndex));
|
||||
prop.setGetter(beanReflect.getGetter(propertyIndex));
|
||||
prop.setSetter(beanReflect.getSetter(propertyIndex));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,10 +17,10 @@ public interface BeanPropertyInfo {
|
||||
/**
|
||||
* Return the getter for a given bean property.
|
||||
*/
|
||||
BeanPropertyGetter getGetter(String name, int position);
|
||||
BeanPropertyGetter getGetter(int position);
|
||||
|
||||
/**
|
||||
* Return the setter for a given bean property.
|
||||
*/
|
||||
BeanPropertySetter getSetter(String name, int position);
|
||||
BeanPropertySetter getSetter(int position);
|
||||
}
|
||||
|
||||
+2
-2
@@ -47,11 +47,11 @@ public final class EnhanceBeanPropertyInfo implements BeanPropertyInfo {
|
||||
}
|
||||
}
|
||||
|
||||
public BeanPropertyGetter getGetter(String name, int position) {
|
||||
public BeanPropertyGetter getGetter(int position) {
|
||||
return new Getter(position);
|
||||
}
|
||||
|
||||
public BeanPropertySetter getSetter(String name, int position) {
|
||||
public BeanPropertySetter getSetter(int position) {
|
||||
return new Setter(position);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user