From 95a37deed47e04b48ed7d79f83bc13472c45de3d Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Fri, 10 Nov 2006 19:55:20 +0000 Subject: [PATCH] [cleanup] Remove old IBM-RSE @since tags --- .../guide/MemoryManagement.html | 2 +- .../rse/core/subsystems/ICacheManager.java | 2 - .../eclipse/rse/ui/SystemConnectionForm.java | 4 +- .../ui/actions/SystemWorkOfflineAction.java | 3 +- .../eclipse/rse/ui/view/SystemViewPart.java | 86 +++++++++---------- .../schema/archivehandlers.exsd | 9 -- .../rse/core/PasswordPersistenceManager.java | 38 ++++---- 7 files changed, 59 insertions(+), 85 deletions(-) diff --git a/rse/doc/org.eclipse.dstore.doc.isv/guide/MemoryManagement.html b/rse/doc/org.eclipse.dstore.doc.isv/guide/MemoryManagement.html index 3d48741818d..8679717339a 100644 --- a/rse/doc/org.eclipse.dstore.doc.isv/guide/MemoryManagement.html +++ b/rse/doc/org.eclipse.dstore.doc.isv/guide/MemoryManagement.html @@ -11,7 +11,7 @@
-Since RSE version 7.0 a substantial design change has been made to the DataStore that significantly reduces the memory footprint of the
+A Memory Management scheme has been implemented for the DataStore that significantly reduces the memory footprint of the
DataElements in high-use, long up-time situations. A problem that was identified was that in the DataStore, DataElements were
rarely being destroyed - only when the files they represented were themselves deleted. When directories in the file system were explored,
DataElements were being created to represent the files in the directories, but these DataElements were cached and never
diff --git a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/subsystems/ICacheManager.java b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/subsystems/ICacheManager.java
index 1345da07705..d46f66565cc 100644
--- a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/subsystems/ICacheManager.java
+++ b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/subsystems/ICacheManager.java
@@ -18,8 +18,6 @@ package org.eclipse.rse.core.subsystems;
/**
* Interface for a cache manager that can optionally associated with a SubSystem.
- *
- * @since RSE 6.0
*/
public interface ICacheManager {
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/SystemConnectionForm.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/SystemConnectionForm.java
index 0b2fa8bd2ef..7a95b246105 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/SystemConnectionForm.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/SystemConnectionForm.java
@@ -497,8 +497,6 @@ public class SystemConnectionForm
/**
* Check if this system type is enabled for offline support
- *
- * @since RSE 6.0
*/
private boolean enableOfflineCB()
{
@@ -1229,7 +1227,7 @@ public class SystemConnectionForm
else
msgLine.clearErrorMessage();
else
- SystemBasePlugin.logDebugMessage(this.getClass().getName(), "MSGLINE NULL. TRYING TO WRITE MSG " + msg);
+ SystemBasePlugin.logDebugMessage(this.getClass().getName(), "MSGLINE NULL. TRYING TO WRITE MSG " + msg); //$NON-NLS-1$
}
// ---------------------------------------------------------------
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/actions/SystemWorkOfflineAction.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/actions/SystemWorkOfflineAction.java
index 801f87cf6a8..6cd69180266 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/actions/SystemWorkOfflineAction.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/actions/SystemWorkOfflineAction.java
@@ -32,7 +32,6 @@ import org.eclipse.swt.widgets.Shell;
* Action for switching RSE Connections offline
*
* @author yantzi
- * @since Artemis 6.0
*/
public class SystemWorkOfflineAction extends SystemBaseAction
{
@@ -96,7 +95,7 @@ public class SystemWorkOfflineAction extends SystemBaseAction
// user cancelled disconnect
cancelled = true;
} catch (Exception e) {
- SystemBasePlugin.logError("SystemWorkOfflineAction.run", e);
+ SystemBasePlugin.logError("SystemWorkOfflineAction.run", e); //$NON-NLS-1$
}
}
}
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/SystemViewPart.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/SystemViewPart.java
index 6ebe4c8029b..bf014355561 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/SystemViewPart.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/SystemViewPart.java
@@ -161,24 +161,24 @@ public class SystemViewPart
protected SystemPasteFromClipboardAction _pasteAction;
// Persistence tags.
- static final String TAG_RELEASE = "release";
- static final String TAG_SELECTION = "selection";
- static final String TAG_EXPANDED_TO = "expandedTo";
- static final String TAG_EXPANDED = "expanded";
- static final String TAG_ELEMENT = "element";
- static final String TAG_PATH = "path";
- static final String TAG_FILTER = "filter";
- static final String TAG_INPUT = "svInput";
- static final String TAG_VERTICAL_POSITION = "verticalPosition";
- static final String TAG_HORIZONTAL_POSITION = "horizontalPosition";
- static final String TAG_SHOWFILTERPOOLS = "showFilterPools";
- static final String TAG_SHOWFILTERSTRINGS = "showFilterStrings";
- static final String TAG_LINKWITHEDITOR = "linkWithEditor";
+ static final String TAG_RELEASE = "release"; //$NON-NLS-1$
+ static final String TAG_SELECTION = "selection"; //$NON-NLS-1$
+ static final String TAG_EXPANDED_TO = "expandedTo"; //$NON-NLS-1$
+ static final String TAG_EXPANDED = "expanded"; //$NON-NLS-1$
+ static final String TAG_ELEMENT = "element"; //$NON-NLS-1$
+ static final String TAG_PATH = "path"; //$NON-NLS-1$
+ static final String TAG_FILTER = "filter"; //$NON-NLS-1$
+ static final String TAG_INPUT = "svInput"; //$NON-NLS-1$
+ static final String TAG_VERTICAL_POSITION = "verticalPosition"; //$NON-NLS-1$
+ static final String TAG_HORIZONTAL_POSITION = "horizontalPosition"; //$NON-NLS-1$
+ static final String TAG_SHOWFILTERPOOLS = "showFilterPools"; //$NON-NLS-1$
+ static final String TAG_SHOWFILTERSTRINGS = "showFilterStrings"; //$NON-NLS-1$
+ static final String TAG_LINKWITHEDITOR = "linkWithEditor"; //$NON-NLS-1$
- public static final String MEMENTO_DELIM = "///";
+ public static final String MEMENTO_DELIM = "///"; //$NON-NLS-1$
// constants
- public static final String ID = "org.eclipse.rse.ui.view.systemView"; // matches id in plugin.xml, view tag
+ public static final String ID = "org.eclipse.rse.ui.view.systemView"; // matches id in plugin.xml, view tag //$NON-NLS-1$
/**
* SystemViewPart constructor.
@@ -248,7 +248,6 @@ public class SystemViewPart
* to be the editor's input, if linking is enabled.
*
* @param editor the active editor
- * @since 2.0
*/
protected void editorActivated(IEditorPart editor)
{
@@ -315,7 +314,7 @@ public class SystemViewPart
{
//IAdaptable inputObj = getSite().getPage().getInput();
Object inputObj = getSystemView().getInput();
- SystemBasePlugin.logInfo("Inside updateTitle. inputObject class type: " + inputObj.getClass().getName());
+ SystemBasePlugin.logInfo("Inside updateTitle. inputObject class type: " + inputObj.getClass().getName()); //$NON-NLS-1$
if (inputObj != null)
{
setTitleToolTip(getFrameToolTipText(input));
@@ -323,27 +322,27 @@ public class SystemViewPart
if (inputObj instanceof IHost)
{
IHost conn = (IHost) inputObj;
- setPartName(viewName + " : " + conn.getAliasName());
+ setPartName(viewName + " : " + conn.getAliasName()); //$NON-NLS-1$
}
else if (inputObj instanceof ISubSystem)
{
ISubSystem ss = (ISubSystem) inputObj;
- setPartName(viewName + " : " + ss.getName());
+ setPartName(viewName + " : " + ss.getName()); //$NON-NLS-1$
}
else if (inputObj instanceof ISystemFilterPoolReference)
{
ISystemFilterPoolReference sfpr = (ISystemFilterPoolReference) inputObj;
- setPartName(viewName + " : " + sfpr.getName());
+ setPartName(viewName + " : " + sfpr.getName()); //$NON-NLS-1$
}
else if (inputObj instanceof ISystemFilterReference)
{
ISystemFilterReference sfr = (ISystemFilterReference) inputObj;
- setPartName(viewName + " : " + sfr.getName());
+ setPartName(viewName + " : " + sfr.getName()); //$NON-NLS-1$
}
else if (inputObj instanceof ISystemFilterStringReference)
{
ISystemFilterStringReference sfsr = (ISystemFilterStringReference) inputObj;
- setPartName(viewName + " : " + sfsr.getString());
+ setPartName(viewName + " : " + sfsr.getString()); //$NON-NLS-1$
}
else
{
@@ -428,7 +427,7 @@ public class SystemViewPart
// listen to editor events for linking
getSite().getPage().addPartListener(partListener);
- SystemWidgetHelpers.setHelp(parent, RSEUIPlugin.HELPPREFIX + "sysv0000");
+ SystemWidgetHelpers.setHelp(parent, RSEUIPlugin.HELPPREFIX + "sysv0000"); //$NON-NLS-1$
// ----------------------
// Restore previous state
@@ -458,8 +457,6 @@ public class SystemViewPart
/**
* Creates the frame source and frame list, and connects them.
- *
- * @since 2.0
*/
protected FrameList createFrameList()
{
@@ -470,7 +467,6 @@ public class SystemViewPart
}
/**
* Return the FrameList object for this view part
- * @since 2.0
*/
public FrameList getFrameList()
{
@@ -732,31 +728,31 @@ public class SystemViewPart
{
IHost conn = (IHost) inputObj;
inputProvider = new SystemViewAPIProviderForConnections(conn);
- setPartName(getTitle() + " : " + conn.getAliasName());
+ setPartName(getTitle() + " : " + conn.getAliasName()); //$NON-NLS-1$
}
else if (inputObj instanceof ISubSystem)
{
ISubSystem ss = (ISubSystem) inputObj;
inputProvider = new SystemViewAPIProviderForSubSystems(ss);
- setPartName(getTitle() + " : " + ss.getName());
+ setPartName(getTitle() + " : " + ss.getName()); //$NON-NLS-1$
}
else if (inputObj instanceof ISystemFilterPoolReference)
{
ISystemFilterPoolReference sfpr = (ISystemFilterPoolReference) inputObj;
inputProvider = new SystemViewAPIProviderForFilterPools(sfpr);
- setPartName(getTitle() + " : " + sfpr.getName());
+ setPartName(getTitle() + " : " + sfpr.getName()); //$NON-NLS-1$
}
else if (inputObj instanceof ISystemFilterReference)
{
ISystemFilterReference sfr = (ISystemFilterReference) inputObj;
inputProvider = new SystemViewAPIProviderForFilters(sfr);
- setPartName(getTitle() + " : " + sfr.getName());
+ setPartName(getTitle() + " : " + sfr.getName()); //$NON-NLS-1$
}
else if (inputObj instanceof ISystemFilterStringReference)
{
ISystemFilterStringReference sfsr = (ISystemFilterStringReference) inputObj;
inputProvider = new SystemViewAPIProviderForFilterStrings(sfsr);
- setPartName(getTitle() + " : " + sfsr.getString());
+ setPartName(getTitle() + " : " + sfsr.getString()); //$NON-NLS-1$
}
else
{
@@ -952,11 +948,11 @@ public class SystemViewPart
if (isLinkingEnabled)
{
- memento.putString(TAG_LINKWITHEDITOR, "t");
+ memento.putString(TAG_LINKWITHEDITOR, "t"); //$NON-NLS-1$
}
else
{
- memento.putString(TAG_LINKWITHEDITOR, "f");
+ memento.putString(TAG_LINKWITHEDITOR, "f"); //$NON-NLS-1$
}
// We record the current release for future in case anything significant changes from release to release
@@ -966,10 +962,10 @@ public class SystemViewPart
// We do this to ensure the states match on restore. If they don't we will be in trouble
// restoring expansion state and hence will abandon it.
- memento.putString(TAG_SHOWFILTERPOOLS, SystemPreferencesManager.getPreferencesManager().getShowFilterPools() ? "t" : "f");
+ memento.putString(TAG_SHOWFILTERPOOLS, SystemPreferencesManager.getPreferencesManager().getShowFilterPools() ? "t" : "f"); //$NON-NLS-1$ //$NON-NLS-2$
//memento.putString(TAG_SHOWFILTERSTRINGS, SystemPreferencesManager.getPreferencesManager().getShowFilterStrings() ? "t" : "f");
- String inputMemento = memento.getString("factoryID"); // see IWorkbenchWindow ... this is only clue I can figure out!
+ String inputMemento = memento.getString("factoryID"); // see IWorkbenchWindow ... this is only clue I can figure out! //$NON-NLS-1$
if (inputMemento != null)
{
saveInputState(memento);
@@ -1268,7 +1264,7 @@ public class SystemViewPart
Vector v = tokenize(memento, MEMENTO_DELIM);
- String elementType = "";
+ String elementType = ""; //$NON-NLS-1$
String ssName = null;
//String connName = null;
//String subsystemName = null;
@@ -1506,7 +1502,7 @@ public class SystemViewPart
public String toString()
{
- return "Remote object: " + name;
+ return "Remote object: " + name; //$NON-NLS-1$
}
}
@@ -1557,7 +1553,7 @@ public class SystemViewPart
String linkWithEditor = memento.getString(TAG_LINKWITHEDITOR);
if (linkWithEditor != null)
{
- if (linkWithEditor.equals("t"))
+ if (linkWithEditor.equals("t")) //$NON-NLS-1$
{
isLinkingEnabled = true;
toggleLinkingAction.setChecked(true);
@@ -1572,12 +1568,12 @@ public class SystemViewPart
String savedValue = memento.getString(TAG_SHOWFILTERPOOLS);
if (savedValue != null)
- showFilterPools = savedValue.equals("t");
+ showFilterPools = savedValue.equals("t"); //$NON-NLS-1$
else
showFilterPools = SystemPreferencesManager.getPreferencesManager().getShowFilterPools();
savedValue = memento.getString(TAG_SHOWFILTERSTRINGS); // historical
if (savedValue != null)
- showFilterStrings = savedValue.equals("t");
+ showFilterStrings = savedValue.equals("t"); //$NON-NLS-1$
//else
//showFilterStrings = SystemPreferencesManager.getPreferencesManager().getShowFilterStrings();
@@ -1676,7 +1672,7 @@ public class SystemViewPart
if (doTimings)
{
timer.setEndTime();
- System.out.println("Time to restore " + ro.name + ": " + timer);
+ System.out.println("Time to restore " + ro.name + ": " + timer); //$NON-NLS-1$ //$NON-NLS-2$
}
}
}
@@ -1724,7 +1720,7 @@ public class SystemViewPart
if (doTimings)
{
timer.setEndTime();
- System.out.println("Time to select " + v.size() + " elements: " + timer);
+ System.out.println("Time to select " + v.size() + " elements: " + timer); //$NON-NLS-1$ //$NON-NLS-2$
}
}
}
@@ -1792,13 +1788,13 @@ public class SystemViewPart
boolean showFilterStrings = false;
String savedValue = memento.getString(TAG_SHOWFILTERPOOLS);
if (savedValue != null)
- showFilterPools = savedValue.equals("t");
+ showFilterPools = savedValue.equals("t"); //$NON-NLS-1$
else
showFilterPools = SystemPreferencesManager.getPreferencesManager().getShowFilterPools();
savedValue = memento.getString(TAG_SHOWFILTERSTRINGS);
if (savedValue != null)
- showFilterStrings = savedValue.equals("t");
+ showFilterStrings = savedValue.equals("t"); //$NON-NLS-1$
//else
// showFilterStrings = SystemPreferencesManager.getPreferencesManager().getShowFilterStrings();
@@ -1823,7 +1819,7 @@ public class SystemViewPart
public String getFactoryId()
{
//System.out.println("INSIDE GETFACTORYID IN SYSTEMVIEWPART");
- return "org.eclipse.rse.systemview.elementfactory";
+ return "org.eclipse.rse.systemview.elementfactory"; //$NON-NLS-1$
}
/*
diff --git a/rse/plugins/org.eclipse.rse.ui/schema/archivehandlers.exsd b/rse/plugins/org.eclipse.rse.ui/schema/archivehandlers.exsd
index 20fa35418bf..cd06db115f2 100644
--- a/rse/plugins/org.eclipse.rse.ui/schema/archivehandlers.exsd
+++ b/rse/plugins/org.eclipse.rse.ui/schema/archivehandlers.exsd
@@ -88,15 +88,6 @@
-