else if (!VersionControlHelper.isLatestIteration((Iterated) promotable)) {
promotable = (Promotable) VersionControlHelper
.getLatestIteration((Iterated) promotable);
if (promotable instanceof Workable
&& WorkInProgressHelper.isCheckedOut((Workable) promotable)) {
promotable = (Promotable) WorkInProgressHelper.service.checkin(
(Workable) promotable, "AutoCheckin");
}newHashSet.add(promotable);target.setPromotable(promotable);collection.add(target);
}}}} catch (WTPropertyVetoException e) {
throw new WTException(e);}
collection = PersistenceHelper.manager.save(collection);
if (newHashSet.size() > 0) {
MaturityBaseline baseline = promotionNotice.getConfiguration();
BaselineHelper.service.addToBaseline(newHashSet, baseline);
}}
将升级目标对象更新到最新的版本2
最新推荐文章于 2022-06-07 01:20:12 发布