}  IFile[] files= getPackageContent(); if (monitor == null) monitor= new NullProgressMonitor(); monitor.beginTask("", files.length + 1); visitor.visit(fPack.getCorrespondingResource()); monitor.worked(1); for (int i= 0; i < files.length; i++) { visitor.visit(files[i]);
} else {  IFile[] files= getPackageContent(fPack); if (monitor == null) monitor= new NullProgressMonitor(); monitor.beginTask("", files.length + 1); visitor.visit(fPack.getCorrespondingResource());
		public void accept(ResourceMappingContext context, IResourceVisitor visitor, IProgressMonitor monitor) throws CoreException {			if (context != null) {				super.accept(context, visitor, monitor);			}			// If we don't have a context then we assume that we have a precise iteration.			IFile[] files= getPackageContent();			if (monitor == null)				monitor= new NullProgressMonitor();			monitor.beginTask("", files.length + 1); //$NON-NLS-1$			visitor.visit(fPack.getCorrespondingResource());			monitor.worked(1);			for (int i= 0; i < files.length; i++) {				visitor.visit(files[i]);				monitor.worked(1);			}		}