mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-08 17:45:24 +02:00
[cleanup] fix 'local variable/field is never read' compiler warnings
This commit is contained in:
parent
fd1f5ae569
commit
01ee127fef
1 changed files with 5 additions and 5 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue