* @param oldFeatureName
* @param newFeatureName
* @param renameStatus
*/
private void collectMetadataRenamings(List<Renaming> renamings, CALFeatureName oldFeatureName, CALFeatureName newFeatureName, Status renameStatus) {
MetadataManager oldMetadataManager = virtualResourceManager.getMetadataManager(oldFeatureName.toModuleName());
if (oldMetadataManager == null) {
renameStatus.add(new Status(Status.Severity.WARNING, "The metadata manager for the old metadata resource does not exist."));
return;
}
MetadataManager newMetadataManager = virtualResourceManager.getMetadataManager(newFeatureName.toModuleName());
if (newMetadataManager == null) {
renameStatus.add(new Status(Status.Severity.WARNING, "The metadata manager for the new metadata resource does not exist."));
return;
}