File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/apache/ibatis/builder/xml Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -161,9 +161,9 @@ private void cacheRefElement(XNode context) {
161
161
private void cacheElement (XNode context ) {
162
162
if (context != null ) {
163
163
String type = context .getStringAttribute ("type" , "PERPETUAL" );
164
- Class <? extends Cache > typeClass = resolveAlias (type );
164
+ Class <? extends Cache > typeClass = typeAliasRegistry . resolveAlias (type );
165
165
String eviction = context .getStringAttribute ("eviction" , "LRU" );
166
- Class <? extends Cache > evictionClass = resolveAlias (eviction );
166
+ Class <? extends Cache > evictionClass = typeAliasRegistry . resolveAlias (eviction );
167
167
Long flushInterval = context .getLongAttribute ("flushInterval" );
168
168
Integer size = context .getIntAttribute ("size" );
169
169
boolean readWrite = !context .getBooleanAttribute ("readOnly" , false );
You can’t perform that action at this time.
0 commit comments