mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-08 16:57:09 +08:00
style: 调整代码风格 null == xx => xx == null(更符合大众风格)
This commit is contained in:
@@ -57,7 +57,7 @@ public class MetaUtils {
|
||||
*/
|
||||
public static DatabaseType getDatabaseTypeOrDefault(DataSource dataSource, DatabaseType defaultValue) {
|
||||
DatabaseType databaseType = getDatabaseType(dataSource);
|
||||
return null == databaseType ? defaultValue : databaseType;
|
||||
return databaseType == null ? defaultValue : databaseType;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user