diff options
Diffstat (limited to 'core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/ContainerEntry.java')
-rw-r--r-- | core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/ContainerEntry.java | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/ContainerEntry.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/ContainerEntry.java deleted file mode 100644 index 38c203568f2..00000000000 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/ContainerEntry.java +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2004 QNX Software Systems and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * QNX Software Systems - Initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.internal.core.model; - -import org.eclipse.cdt.core.model.IContainerEntry; -import org.eclipse.core.runtime.IPath; - -public class ContainerEntry extends PathEntry implements IContainerEntry { - - public ContainerEntry(IPath path, boolean isExported) { - super(IContainerEntry.CDT_CONTAINER, path, isExported); - } - - public boolean equals(Object obj) { - if (obj instanceof IContainerEntry) { - IContainerEntry container = (IContainerEntry)obj; - if (!super.equals(container)) { - return false; - } - if (path == null) { - if (container.getPath() != null) { - return false; - } - } else { - if (!path.equals(container.getPath())) { - return false; - } - } - return true; - } - return super.equals(obj); - } - -} |