From 70f93e87729ff5f2623eb985afe2bb5c402d1b9c Mon Sep 17 00:00:00 2001 From: David Dykstal Date: Tue, 3 Apr 2007 00:25:49 +0000 Subject: [PATCH] [180562][api] removing implementers of ISystemFilterConstants, ISystemFilterSavePolicies --- .../rse/core/filters/ISystemFilterConstants.java | 6 +++--- .../rse/internal/core/filters/SystemFilterPool.java | 10 ++++------ .../internal/core/filters/SystemFilterStartHere.java | 12 ++++++------ 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/filters/ISystemFilterConstants.java b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/filters/ISystemFilterConstants.java index 46ff6cb4c7d..8ffa84982c6 100644 --- a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/filters/ISystemFilterConstants.java +++ b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/filters/ISystemFilterConstants.java @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2002, 2006 IBM Corporation. All rights reserved. + * Copyright (c) 2002, 2007 IBM Corporation. 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 @@ -11,7 +11,7 @@ * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * * Contributors: - * {Name} (company) - description of contribution. + * David Dykstal (IBM) - removing extension of ISystemFilterSavePolicies ********************************************************************************/ package org.eclipse.rse.core.filters; @@ -19,7 +19,7 @@ package org.eclipse.rse.core.filters; /** * Constants used throughout filters framework. */ -public interface ISystemFilterConstants extends ISystemFilterSavePolicies { +public interface ISystemFilterConstants { /** * Parameter value on create operations when a restore should be attempted first */ diff --git a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/internal/core/filters/SystemFilterPool.java b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/internal/core/filters/SystemFilterPool.java index 3d098b26a19..7a188949bb7 100644 --- a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/internal/core/filters/SystemFilterPool.java +++ b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/internal/core/filters/SystemFilterPool.java @@ -11,7 +11,7 @@ * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * * Contributors: - * {Name} (company) - description of contribution. + * David Dykstal (IBM) - removing implementation of ISystemFilterSavePolicies, ISystemFilterConstants ********************************************************************************/ package org.eclipse.rse.internal.core.filters; @@ -27,11 +27,9 @@ import org.eclipse.rse.core.SystemResourceHelpers; import org.eclipse.rse.core.filters.IRSEFilterNamingPolicy; import org.eclipse.rse.core.filters.ISystemFilter; import org.eclipse.rse.core.filters.ISystemFilterConstants; -import org.eclipse.rse.core.filters.ISystemFilterContainer; import org.eclipse.rse.core.filters.ISystemFilterPool; import org.eclipse.rse.core.filters.ISystemFilterPoolManager; import org.eclipse.rse.core.filters.ISystemFilterPoolManagerProvider; -import org.eclipse.rse.core.filters.ISystemFilterSavePolicies; import org.eclipse.rse.core.filters.SystemFilterNamingPolicy; import org.eclipse.rse.internal.core.model.RSEModelResources; import org.eclipse.rse.internal.references.SystemPersistableReferencedObject; @@ -52,7 +50,7 @@ import org.eclipse.rse.internal.references.SystemPersistableReferencedObject; * @lastgen class SystemFilterPoolImpl extends SystemPersistableReferencedObjectImpl implements SystemFilterPool, SystemFilterSavePolicies, SystemFilterConstants, SystemFilterContainer, IAdaptable */ public class SystemFilterPool extends SystemPersistableReferencedObject - implements ISystemFilterPool, ISystemFilterSavePolicies, ISystemFilterConstants, IAdaptable + implements ISystemFilterPool, IAdaptable { /** @@ -892,8 +890,8 @@ public class SystemFilterPool extends SystemPersistableReferencedObject Vector filterNames = SystemResourceHelpers.getResourceHelpers().convertToVectorAndStrip( SystemResourceHelpers.getResourceHelpers().listFiles(folder, namingPolicy.getFilterSaveFileNamePrefix(), - SAVEFILE_SUFFIX), - namingPolicy.getFilterSaveFileNamePrefix(), SAVEFILE_SUFFIX); + ISystemFilterConstants.SAVEFILE_SUFFIX), + namingPolicy.getFilterSaveFileNamePrefix(), ISystemFilterConstants.SAVEFILE_SUFFIX); return filterNames; } diff --git a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/internal/core/filters/SystemFilterStartHere.java b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/internal/core/filters/SystemFilterStartHere.java index eab135f1a80..710cf752a54 100644 --- a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/internal/core/filters/SystemFilterStartHere.java +++ b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/internal/core/filters/SystemFilterStartHere.java @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (c) 2002, 2006 IBM Corporation. All rights reserved. + * Copyright (c) 2002, 2007 IBM Corporation. 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 @@ -11,16 +11,16 @@ * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * * Contributors: - * {Name} (company) - description of contribution. + * David Dykstal (IBM) - removing implementation of ISystemFilterConstants ********************************************************************************/ package org.eclipse.rse.internal.core.filters; import org.eclipse.rse.core.filters.IRSEFilterNamingPolicy; -import org.eclipse.rse.core.filters.ISystemFilterConstants; import org.eclipse.rse.core.filters.ISystemFilterPoolManager; import org.eclipse.rse.core.filters.ISystemFilterPoolManagerProvider; import org.eclipse.rse.core.filters.ISystemFilterPoolReferenceManager; import org.eclipse.rse.core.filters.ISystemFilterPoolReferenceManagerProvider; +import org.eclipse.rse.core.filters.ISystemFilterSavePolicies; import org.eclipse.rse.core.filters.ISystemFilterStartHere; import org.eclipse.rse.core.filters.SystemFilterNamingPolicy; import org.eclipse.rse.core.filters.SystemFilterPoolManager; @@ -48,7 +48,7 @@ import org.eclipse.rse.logging.Logger; * */ public class SystemFilterStartHere - implements ISystemFilterConstants, ISystemFilterStartHere + implements ISystemFilterStartHere { private static SystemFilterStartHere _instance; public SystemFilterStartHere() @@ -97,7 +97,7 @@ public class SystemFilterStartHere boolean allowNestedFilters) { return SystemFilterPoolManager.createSystemFilterPoolManager(profile, logger, caller, - name, allowNestedFilters, SAVE_POLICY_NONE, null); + name, allowNestedFilters, ISystemFilterSavePolicies.SAVE_POLICY_NONE, null); } @@ -122,7 +122,7 @@ public class SystemFilterStartHere String name, IRSEFilterNamingPolicy namingPolicy) { return SystemFilterPoolReferenceManager.createSystemFilterPoolReferenceManager( - caller, relatedPoolMgrProvider, null, name, SAVE_POLICY_NONE, namingPolicy); + caller, relatedPoolMgrProvider, null, name, ISystemFilterSavePolicies.SAVE_POLICY_NONE, namingPolicy); }