Bug 122819 [Metadata] Some UI classes use CPL
Several UI classes have CPL rather than EPL in their copyright notices. These should be fixed to indicate the proper license. I will attach a file because it is easier to read. CC Nick: the JAOO RCP adventure builder example in platform-ui-home is also all copyright with CPL - I don't know if that was intentional or not. If not, you probably need to update your template preferences to use EPL.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/ResourceUtil.java
private static IFile getFileFromResourceMapping(ResourceMapping mapping) {
    	IResource resource = getResourceFromResourceMapping(mapping);
    	if (resource instanceof IFile) {
    		return (IFile) resource;
    	}
    	return null;
    }
    
    /**
     * Tries to extra a single resource from the given resource mapping.
     * Returns the resource if the mapping maps to a single resource, or <code>null</code>
     * if it maps to zero or multiple resources.
     * 
     * @param mapping the resource mapping
     * @return the resource, or <code>null</code>
     */
    private static IResource getResourceFromResourceMapping(ResourceMapping mapping) {
		try {
			ResourceTraversal[] traversals = mapping.getTraversals(null, null);
	    	if (traversals.length != 1) {
	    		return null;
	    	}
	    	ResourceTraversal traversal = traversals[0];
	    	
	    	IResource[] resources = traversal.getResources();
	    	if (resources.length != 1) {
	    		return null;
	    	}
	    	return resources[0];
		} catch (CoreException e) {