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
import org.eclipse.core.runtime.Platform;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IEditorReference;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
import org.eclipse.ui.part.FileEditorInput;
/**
 * Utility class for manipulating resources and determining correspondences 
 * between resources and workbench objects.
 * <p>
 * This class provides all its functionality via static methods.
 * It is not intended to be instantiated or subclassed.
 * </p>
 *
 * @since 3.1
 */
public final class ResourceUtil {
    private ResourceUtil() {
        
    }
    /**
     * Returns the file corresponding to the given editor input, or <code>null</code>
     * if there is no applicable file.  
     * Returns <code>null</code> if the given editor input is <code>null</code>.
     * 
     * @param editorInput the editor input, or <code>null</code>
     * @return the file corresponding to the editor input, or <code>null</code>
     */
    public static IFile getFile(IEditorInput editorInput) {