public void copyDescriptors(String fromPid, String toPid){
if(descriptors.get(fromPid) == null){
return;
}
if(descriptors.get(toPid) == null){
<BUG>descriptors.put(toPid, new HashMap<String, ArtifactIdentity>());
</BUG>
}
descriptors.get(toPid).putAll(descriptors.get(fromPid));
}

public void copyDescriptors(String fromPid, String toPid){
if(descriptors.get(fromPid) == null){
return;
}
if(descriptors.get(toPid) == null){
descriptors.put(toPid, new HashMap<String, ArtifactIdentifier>());
}
descriptors.get(toPid).putAll(descriptors.get(fromPid));
}
