public boolean updateReferenceVersion( String id, OsgiVersion oldVersion, OsgiVersion newVersion, VersioningLoggerItem loggerItem, VersionRangeChangeStrategy versionRangeChangeStrategy) { if (id.equals(hostBundle.getId())) { loggerItem.appendToMessage(NAME); loggerItem.appendToMessage(": "); return hostBundle.updateVersionIfOldMatches( oldVersion, newVersion, loggerItem, versionRangeChangeStrategy); } return false; }
@Override public void print(StringBuilder result) { result.append(getName()); result.append(": "); hostBundle.print(result); if (newLine != null) { result.append(newLine); } }