mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-29 02:32:33 +08:00
Optimize code
This commit is contained in:
@ -2,7 +2,6 @@ package ai.chat2db.plugin.mysql.value.factory;
|
||||
|
||||
import ai.chat2db.plugin.mysql.type.MysqlColumnTypeEnum;
|
||||
import ai.chat2db.plugin.mysql.value.sub.*;
|
||||
import ai.chat2db.plugin.mysql.value.template.sub.*;
|
||||
import ai.chat2db.spi.jdbc.DefaultValueProcessor;
|
||||
|
||||
import java.util.Map;
|
||||
@ -47,6 +46,6 @@ public class MysqlValueProcessorFactory {
|
||||
|
||||
public static DefaultValueProcessor getValueProcessor(String type) {
|
||||
DefaultValueProcessor processor = PROCESSOR_MAP.get(type);
|
||||
return processor==null?new DefaultValueProcessor():processor;
|
||||
return processor == null ? new DefaultValueProcessor() : processor;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user