Pārlūkot izejas kodu

警告文字提示

Caratacus 9 gadi atpakaļ
vecāks
revīzija
dffcc434f6

+ 3 - 3
mybatis-plus/src/main/java/com/baomidou/mybatisplus/toolkit/ReflectionKit.java

@@ -29,7 +29,7 @@ public class ReflectionKit {
 	private static Logger logger = LoggerFactory.getLogger(ReflectionKit.class);
 	private static Logger logger = LoggerFactory.getLogger(ReflectionKit.class);
 
 
 	/**
 	/**
-	 * 调用对象的get方法检查对象所属性是否为null
+	 * 调用对象的get方法检查对象所属性是否为null
 	 * 
 	 * 
 	 * @param bean
 	 * @param bean
 	 * @return boolean true对象所有属性不为null,false对象所有属性为null
 	 * @return boolean true对象所有属性不为null,false对象所有属性为null
@@ -44,7 +44,7 @@ public class ReflectionKit {
 		TableInfo tableInfo = TableInfoHelper.getTableInfo(cls);
 		TableInfo tableInfo = TableInfoHelper.getTableInfo(cls);
 
 
 		if (tableInfo == null) {
 		if (tableInfo == null) {
-			logger.warn("Error: Could not find @TableId.");
+			logger.warn("Warn: Could not find @TableId.");
 			return false;
 			return false;
 		}
 		}
 		List<TableFieldInfo> fieldList = tableInfo.getFieldList();
 		List<TableFieldInfo> fieldList = tableInfo.getFieldList();
@@ -61,7 +61,7 @@ public class ReflectionKit {
 					break;
 					break;
 				}
 				}
 			} catch (Exception e) {
 			} catch (Exception e) {
-				logger.warn("Unexpected exception on checkFieldValueNull.  Cause:" + e);
+				logger.warn("Warn: Unexpected exception on checkFieldValueNull.  Cause:" + e);
 			}
 			}
 
 
 		}
 		}