mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 07:35:24 +02:00
[cleanup] fix compiler warning
This commit is contained in:
parent
6abf39ebee
commit
217a68fc61
5 changed files with 9 additions and 16 deletions
|
@ -44,8 +44,6 @@ import org.eclipse.rse.ui.ISystemMessages;
|
|||
import org.eclipse.rse.ui.RSEUIPlugin;
|
||||
import org.eclipse.rse.ui.actions.SystemBaseAction;
|
||||
import org.eclipse.rse.ui.dialogs.SystemPromptDialog;
|
||||
import org.eclipse.rse.ui.operations.SystemFetchOperation.PromptForPassword;
|
||||
import org.eclipse.rse.ui.operations.SystemFetchOperation.UpdateRegistry;
|
||||
import org.eclipse.rse.ui.view.ISystemViewElementAdapter;
|
||||
import org.eclipse.swt.SWT;
|
||||
import org.eclipse.swt.events.ModifyEvent;
|
||||
|
|
|
@ -17,7 +17,6 @@ import java.io.InputStream;
|
|||
|
||||
import org.eclipse.core.runtime.IStatus;
|
||||
import org.eclipse.core.runtime.Status;
|
||||
import org.eclipse.ui.internal.ShellPool;
|
||||
import org.eclipse.ui.plugin.AbstractUIPlugin;
|
||||
import org.osgi.framework.BundleContext;
|
||||
|
||||
|
|
|
@ -38,9 +38,8 @@ public class ValidatorFilterName
|
|||
|
||||
/**
|
||||
* Constructor accepting a Vector.
|
||||
* @param A vector containing list of existing filter names to compare against.
|
||||
* @param existingList A vector containing list of existing filter names to compare against.
|
||||
* Note that toString() is used to get the string from each item.
|
||||
* @param existingList if comparisons are to be case sensitive, false if case insensitive.
|
||||
*/
|
||||
public ValidatorFilterName(Vector existingList)
|
||||
{
|
||||
|
@ -49,8 +48,7 @@ public class ValidatorFilterName
|
|||
}
|
||||
/**
|
||||
* Constructor accepting an Array.
|
||||
* @param An array containing list of existing strings to compare against.
|
||||
* @param existingList if comparisons are to be case sensitive, false if case insensitive.
|
||||
* @param existingList array containing list of existing strings to compare against.
|
||||
*/
|
||||
public ValidatorFilterName(String[] existingList)
|
||||
{
|
||||
|
|
|
@ -35,9 +35,8 @@ public class ValidatorFilterPoolName
|
|||
|
||||
/**
|
||||
* Constructor accepting a Vector.
|
||||
* @param A vector containing list of existing filter names to compare against.
|
||||
* @param existingList vector containing list of existing filter names to compare against.
|
||||
* Note that toString() is used to get the string from each item.
|
||||
* @param existingList if comparisons are to be case sensitive, false if case insensitive.
|
||||
*/
|
||||
public ValidatorFilterPoolName(Vector existingList)
|
||||
{
|
||||
|
@ -46,8 +45,7 @@ public class ValidatorFilterPoolName
|
|||
}
|
||||
/**
|
||||
* Constructor accepting an Array.
|
||||
* @param An array containing list of existing strings to compare against.
|
||||
* @param existingList if comparisons are to be case sensitive, false if case insensitive.
|
||||
* @param existingList An array containing list of existing strings to compare against.
|
||||
*/
|
||||
public ValidatorFilterPoolName(String[] existingList)
|
||||
{
|
||||
|
|
|
@ -378,7 +378,7 @@ public abstract class SystemBasePlugin extends AbstractUIPlugin
|
|||
* Parse the given message file into memory, into a SystemMessageFile
|
||||
* object.
|
||||
*
|
||||
* @param descriptor -
|
||||
* @param bundle -
|
||||
* the descriptor for this plugin
|
||||
* @param fileName -
|
||||
* unqualified name of the .xml message file, inluding the .xml
|
||||
|
@ -422,7 +422,7 @@ public abstract class SystemBasePlugin extends AbstractUIPlugin
|
|||
* Parse the given message file into memory, into a SystemMessageFile
|
||||
* object.
|
||||
*
|
||||
* @param descriptor -
|
||||
* @param bundle -
|
||||
* the descriptor for this plugin
|
||||
* @param fileName -
|
||||
* unqualified name of the .xml message file, inluding the .xml
|
||||
|
@ -503,7 +503,7 @@ public abstract class SystemBasePlugin extends AbstractUIPlugin
|
|||
}
|
||||
|
||||
/**
|
||||
* Scan this plugin's message file for duplicates. This just calls the {@link org.eclipse.rse.ui.messages.SystemMessageFile#scanForDuplicates()}
|
||||
* Scan this plugin's message file for duplicates. This just calls the {@link SystemMessageFile#scanForDuplicates()}
|
||||
* method on the SystemMessageFile object.
|
||||
* @param msgFile - the message file to scan
|
||||
* @return true if duplicates found. The duplicates are written to standard out and the system core log file.
|
||||
|
@ -515,7 +515,7 @@ public abstract class SystemBasePlugin extends AbstractUIPlugin
|
|||
|
||||
/**
|
||||
* Generate HTML from this plugin's message file. This is handy for documentation purposes.
|
||||
* This just calls the {@link org.eclipse.rse.ui.messages.SystemMessageFile#printHTML(String)}
|
||||
* This just calls the {@link SystemMessageFile#printHTML(String)}
|
||||
* method on the SystemMessageFile object.
|
||||
* @param msgFile - the message file to print
|
||||
* @return true if all went well, false if it failed for some reason.
|
||||
|
@ -645,7 +645,7 @@ public abstract class SystemBasePlugin extends AbstractUIPlugin
|
|||
* Debug messages are only logged when running this plugin in the workbench,
|
||||
* and when Logger.DEBUG has been set to true.
|
||||
*
|
||||
* @param classname - Class issuing the debug message. Typically you pass getClass().getName()
|
||||
* @param prefix - Class issuing the debug message. Typically you pass getClass().getName()
|
||||
* @param message - Message to be written to the log file
|
||||
*/
|
||||
public static void logDebugMessage(String prefix, String message)
|
||||
|
|
Loading…
Add table
Reference in a new issue