Skip to content

Commit

Permalink
--taskid=ID20230908
Browse files Browse the repository at this point in the history
引用的verion版本声明,定义的变量不规范,需要规范化
  • Loading branch information
xinluke committed Sep 8, 2023
1 parent cb5205c commit f848c35
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ private void processDependency(Dependency d){
String newVersion = getNewVersion(artifactId);
String realVer = getRefVersionValue(d);
if (!d.getVersion().equals(newVersion) && StringUtils.isNotEmpty(realVer)) {
unusedVersionKey.add(getRefVersionKey(version));
//不需要强制删除,避免原本有还有引用,导致被误删除
//不需要的属性声明,多次运行的时候,会自动被清除的
insertProperty(artifactId, realVer);
d.setVersion(newVersion);
}
Expand Down

0 comments on commit f848c35

Please sign in to comment.