@@ -66,7 +66,7 @@ public Object createDeserializationProxy(Object target, Map<String, ResultLoader
6666 return EnhancedDeserializationProxyImpl .createProxy (target , unloadedProperties , objectFactory , constructorArgTypes , constructorArgs );
6767 }
6868
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 ) {
7070 LogHolder .log .warn ("CglibProxyFactory is deprecated. Use another proxy factory implementation." );
7171 Enhancer enhancer = new Enhancer ();
7272 enhancer .setCallback (callback );
@@ -116,7 +116,7 @@ private EnhancedResultObjectProxyImpl(Class<?> type, ResultLoaderMap lazyLoader,
116116 public static Object createProxy (Object target , ResultLoaderMap lazyLoader , Configuration configuration , ObjectFactory objectFactory , List <Class <?>> constructorArgTypes , List <Object > constructorArgs ) {
117117 final Class <?> type = target .getClass ();
118118 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 );
120120 PropertyCopier .copyBeanProperties (type , target , enhanced );
121121 return enhanced ;
122122 }
@@ -173,7 +173,7 @@ public static Object createProxy(Object target, Map<String, ResultLoaderMap.Load
173173 List <Class <?>> constructorArgTypes , List <Object > constructorArgs ) {
174174 final Class <?> type = target .getClass ();
175175 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 );
177177 PropertyCopier .copyBeanProperties (type , target , enhanced );
178178 return enhanced ;
179179 }
0 commit comments