@@ -66,7 +66,7 @@ public Object createDeserializationProxy(Object target, Map<String, ResultLoader
66
66
return EnhancedDeserializationProxyImpl .createProxy (target , unloadedProperties , objectFactory , constructorArgTypes , constructorArgs );
67
67
}
68
68
69
- static Object crateProxy (Class <?> type , Callback callback , List <Class <?>> constructorArgTypes , List <Object > constructorArgs ) {
69
+ static Object createStaticProxy (Class <?> type , Callback callback , List <Class <?>> constructorArgTypes , List <Object > constructorArgs ) {
70
70
LogHolder .log .warn ("CglibProxyFactory is deprecated. Use another proxy factory implementation." );
71
71
Enhancer enhancer = new Enhancer ();
72
72
enhancer .setCallback (callback );
@@ -116,7 +116,7 @@ private EnhancedResultObjectProxyImpl(Class<?> type, ResultLoaderMap lazyLoader,
116
116
public static Object createProxy (Object target , ResultLoaderMap lazyLoader , Configuration configuration , ObjectFactory objectFactory , List <Class <?>> constructorArgTypes , List <Object > constructorArgs ) {
117
117
final Class <?> type = target .getClass ();
118
118
EnhancedResultObjectProxyImpl callback = new EnhancedResultObjectProxyImpl (type , lazyLoader , configuration , objectFactory , constructorArgTypes , constructorArgs );
119
- Object enhanced = crateProxy (type , callback , constructorArgTypes , constructorArgs );
119
+ Object enhanced = createStaticProxy (type , callback , constructorArgTypes , constructorArgs );
120
120
PropertyCopier .copyBeanProperties (type , target , enhanced );
121
121
return enhanced ;
122
122
}
@@ -173,7 +173,7 @@ public static Object createProxy(Object target, Map<String, ResultLoaderMap.Load
173
173
List <Class <?>> constructorArgTypes , List <Object > constructorArgs ) {
174
174
final Class <?> type = target .getClass ();
175
175
EnhancedDeserializationProxyImpl callback = new EnhancedDeserializationProxyImpl (type , unloadedProperties , objectFactory , constructorArgTypes , constructorArgs );
176
- Object enhanced = crateProxy (type , callback , constructorArgTypes , constructorArgs );
176
+ Object enhanced = createStaticProxy (type , callback , constructorArgTypes , constructorArgs );
177
177
PropertyCopier .copyBeanProperties (type , target , enhanced );
178
178
return enhanced ;
179
179
}
0 commit comments