SvnMappingSavedPart () { SvnMappingSavedPart result = new SvnMappingSavedPart(); SvnMapping mapping = new SvnMapping(); SvnMapping realMapping = new SvnMapping(); synchronized (myMonitor) { mapping.copyFrom(myMapping); realMapping.copyFrom(myMoreRealMapping); } mapping.getAllCopies().forEach(result::add); realMapping.getAllCopies().forEach(result::addReal); return result; }