diff --git a/build.gradle b/build.gradle index 2417707..b3f68b2 100644 --- a/build.gradle +++ b/build.gradle @@ -62,7 +62,7 @@ uploadArchives { authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD) } pom.project { - version '1.1.116' + version '1.1.118' artifactId ARTIFACT_Id groupId GROUP_ID packaging TYPE diff --git a/src/main/java/com/taover/util/UtilObject.java b/src/main/java/com/taover/util/UtilObject.java index 2c628d9..df8b105 100644 --- a/src/main/java/com/taover/util/UtilObject.java +++ b/src/main/java/com/taover/util/UtilObject.java @@ -45,10 +45,7 @@ public class UtilObject { Object tempValue = destField[i].get(dest); destField[i].set(newDest, tempValue); } - } catch (Exception e2) { - // TODO Auto-generated catch block - e2.printStackTrace(); - } + } catch (Exception e2) { } } //遍历源field数组,处理源field数组 @@ -62,10 +59,7 @@ public class UtilObject { sourceField[i].setAccessible(true); try { sourceFieldValue = sourceField[i].get(source); - } catch (Exception e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } + } catch (Exception e1) { } //检查是否在exceptFieldName中 if(-1 != UtilString.getStringIndex(sourceFieldName, exceptFieldNameArray)){ @@ -95,10 +89,7 @@ public class UtilObject { if(isNewInstance){ destField[nameIndex].set(newDest, sourceFieldValue); } - } catch (Exception e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } + } catch (Exception e) { } } } } @@ -146,9 +137,7 @@ public class UtilObject { sourceField[i].setAccessible(true); try { sourceFieldValue = sourceField[i].get(source); - } catch (Exception e1) { - e1.printStackTrace(); - } + } catch (Exception e1) { } //检查是否在exceptFieldName中 if(-1 != UtilString.getStringIndex(sourceFieldName, exceptFieldNameArray)){ @@ -175,9 +164,7 @@ public class UtilObject { destField[nameIndex].setAccessible(true); try { destField[nameIndex].set(newDest, sourceFieldValue); - } catch (Exception e) { - e.printStackTrace(); - } + } catch (Exception e) { } } } } @@ -213,10 +200,7 @@ public class UtilObject { sourceField[i].setAccessible(true); try { sourceFieldValue = sourceField[i].get(source); - } catch (Exception e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } + } catch (Exception e1) { } //检查是否在exceptFieldName中 if(-1 != UtilString.getStringIndex(sourceFieldName, exceptFieldNameArray)){ @@ -261,10 +245,7 @@ public class UtilObject { sourceField[i].setAccessible(true); try { sourceFieldValue = sourceField[i].get(source); - } catch (Exception e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } + } catch (Exception e1) { } //检查是否在exceptFieldName中 if(-1 != UtilString.getStringIndex(sourceFieldName, exceptFieldNameArray)){ @@ -340,9 +321,7 @@ public class UtilObject { keyField.setAccessible(true); keyField.set(result, keyValue); - } catch (Exception e) { - e.printStackTrace(); - } + } catch (Exception e) { } } return result; } -- libgit2 0.21.2