1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-08 09:35:23 +02:00

[cleanup] fix 'local variable/field is never read' compiler warnings

This commit is contained in:
Martin Oberhuber 2006-08-29 11:19:31 +00:00
parent fd1f5ae569
commit 01ee127fef

View file

@ -427,7 +427,7 @@ public class SystemSelectRemoteFilesForm extends Composite
displayErrorMessage(msg); displayErrorMessage(msg);
clearAll(); clearAll();
} }
}; }
}; };
dirCombo.addSelectionListener(selectionListener); dirCombo.addSelectionListener(selectionListener);
} }
@ -440,7 +440,7 @@ public class SystemSelectRemoteFilesForm extends Composite
public void widgetSelected(SelectionEvent event) public void widgetSelected(SelectionEvent event)
{ {
handleTypesEditButtonPressed(); handleTypesEditButtonPressed();
}; }
}; };
selectTypesButton.addSelectionListener(selectionListener); selectTypesButton.addSelectionListener(selectionListener);
} }
@ -452,7 +452,7 @@ public class SystemSelectRemoteFilesForm extends Composite
public void widgetSelected(SelectionEvent event) public void widgetSelected(SelectionEvent event)
{ {
fileSelector.setAllSelections(true); fileSelector.setAllSelections(true);
}; }
}; };
selectAllButton.addSelectionListener(selectionListener); selectAllButton.addSelectionListener(selectionListener);
} }
@ -464,7 +464,7 @@ public class SystemSelectRemoteFilesForm extends Composite
public void widgetSelected(SelectionEvent event) public void widgetSelected(SelectionEvent event)
{ {
fileSelector.setAllSelections(false); fileSelector.setAllSelections(false);
}; }
}; };
deselectAllButton.addSelectionListener(selectionListener); deselectAllButton.addSelectionListener(selectionListener);
} }
@ -525,7 +525,7 @@ public class SystemSelectRemoteFilesForm extends Composite
IRemoteFile file = filesList[idx]; IRemoteFile file = filesList[idx];
String extension = file.getExtension(); String extension = file.getExtension();
//System.out.println("File extension for " + file.getName() + ": " + extension); //System.out.println("File extension for " + file.getName() + ": " + extension);
if (isExportableExtension(file.getExtension())) if (isExportableExtension(extension))
{ {
java.util.List elements = new ArrayList(); java.util.List elements = new ArrayList();
IRemoteFile parent = file.getParentRemoteFile(); IRemoteFile parent = file.getParentRemoteFile();