1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-22 07:43:56 +02:00

[cleanup] fix compiler warning

This commit is contained in:
Martin Oberhuber 2007-02-22 23:17:34 +00:00
parent 6abf39ebee
commit 217a68fc61
5 changed files with 9 additions and 16 deletions

View file

@ -44,8 +44,6 @@ import org.eclipse.rse.ui.ISystemMessages;
import org.eclipse.rse.ui.RSEUIPlugin; import org.eclipse.rse.ui.RSEUIPlugin;
import org.eclipse.rse.ui.actions.SystemBaseAction; import org.eclipse.rse.ui.actions.SystemBaseAction;
import org.eclipse.rse.ui.dialogs.SystemPromptDialog; 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.rse.ui.view.ISystemViewElementAdapter;
import org.eclipse.swt.SWT; import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.events.ModifyEvent;

View file

@ -17,7 +17,6 @@ import java.io.InputStream;
import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.Status;
import org.eclipse.ui.internal.ShellPool;
import org.eclipse.ui.plugin.AbstractUIPlugin; import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext; import org.osgi.framework.BundleContext;

View file

@ -38,9 +38,8 @@ public class ValidatorFilterName
/** /**
* Constructor accepting a Vector. * 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. * 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) public ValidatorFilterName(Vector existingList)
{ {
@ -49,8 +48,7 @@ public class ValidatorFilterName
} }
/** /**
* Constructor accepting an Array. * Constructor accepting an Array.
* @param An array containing list of existing strings to compare against. * @param existingList array containing list of existing strings to compare against.
* @param existingList if comparisons are to be case sensitive, false if case insensitive.
*/ */
public ValidatorFilterName(String[] existingList) public ValidatorFilterName(String[] existingList)
{ {

View file

@ -35,9 +35,8 @@ public class ValidatorFilterPoolName
/** /**
* Constructor accepting a Vector. * 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. * 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) public ValidatorFilterPoolName(Vector existingList)
{ {
@ -46,8 +45,7 @@ public class ValidatorFilterPoolName
} }
/** /**
* Constructor accepting an Array. * Constructor accepting an Array.
* @param An array containing list of existing strings to compare against. * @param existingList An array containing list of existing strings to compare against.
* @param existingList if comparisons are to be case sensitive, false if case insensitive.
*/ */
public ValidatorFilterPoolName(String[] existingList) public ValidatorFilterPoolName(String[] existingList)
{ {

View file

@ -378,7 +378,7 @@ public abstract class SystemBasePlugin extends AbstractUIPlugin
* Parse the given message file into memory, into a SystemMessageFile * Parse the given message file into memory, into a SystemMessageFile
* object. * object.
* *
* @param descriptor - * @param bundle -
* the descriptor for this plugin * the descriptor for this plugin
* @param fileName - * @param fileName -
* unqualified name of the .xml message file, inluding the .xml * 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 * Parse the given message file into memory, into a SystemMessageFile
* object. * object.
* *
* @param descriptor - * @param bundle -
* the descriptor for this plugin * the descriptor for this plugin
* @param fileName - * @param fileName -
* unqualified name of the .xml message file, inluding the .xml * 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. * method on the SystemMessageFile object.
* @param msgFile - the message file to scan * @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. * @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. * 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. * method on the SystemMessageFile object.
* @param msgFile - the message file to print * @param msgFile - the message file to print
* @return true if all went well, false if it failed for some reason. * @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, * Debug messages are only logged when running this plugin in the workbench,
* and when Logger.DEBUG has been set to true. * 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 * @param message - Message to be written to the log file
*/ */
public static void logDebugMessage(String prefix, String message) public static void logDebugMessage(String prefix, String message)