diff options
Diffstat (limited to 'plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/builder/DependencyGraphManager.java')
-rw-r--r-- | plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/builder/DependencyGraphManager.java | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/builder/DependencyGraphManager.java b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/builder/DependencyGraphManager.java deleted file mode 100644 index 0b275c8c7..000000000 --- a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/builder/DependencyGraphManager.java +++ /dev/null @@ -1,55 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2007 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.common.componentcore.internal.builder; - -import org.eclipse.core.resources.IProject; - -/** - * @deprecated use {@link IDependencyGraph} - */ -public class DependencyGraphManager { - - private static DependencyGraphManager INSTANCE = null; - - private DependencyGraphManager() { - super(); - } - - public synchronized static final DependencyGraphManager getInstance() { - if (INSTANCE == null) - INSTANCE = new DependencyGraphManager(); - return INSTANCE; - } - - public void construct(IProject project) { - // do nothing - } - - /** - * Return the dependency graph which was initialized if need be in the - * singleton manager method. - */ - public DependencyGraph getDependencyGraph() { - return DependencyGraph.getInstance(); - } - - public void forceRefresh() { - // do nothing - } - - public long getModStamp() { - return IDependencyGraph.INSTANCE.getModStamp(); - } - - public boolean checkIfStillValid(long timeStamp) { - return IDependencyGraph.INSTANCE.getModStamp() == timeStamp; - } -} |