Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2010-12-03 20:48:15 -0500
committerSergey Prigogin2010-12-03 20:48:15 -0500
commit6b9291e199f4659fcf6cd2777987f2d980d0711e (patch)
tree0622947847a13ee71de18962ec8e99aedca85dee /debug/org.eclipse.cdt.debug.ui
parent0391ede740df436300fb7af42cf7189c68e07b69 (diff)
downloadorg.eclipse.cdt-6b9291e199f4659fcf6cd2777987f2d980d0711e.tar.gz
org.eclipse.cdt-6b9291e199f4659fcf6cd2777987f2d980d0711e.tar.xz
org.eclipse.cdt-6b9291e199f4659fcf6cd2777987f2d980d0711e.zip
Cosmetics.
Diffstat (limited to 'debug/org.eclipse.cdt.debug.ui')
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/AddSourceContainerDialog.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/AddSourceContainerDialog.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/AddSourceContainerDialog.java
index 85722fc35f..a280b30de4 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/AddSourceContainerDialog.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/AddSourceContainerDialog.java
@@ -118,9 +118,9 @@ public class AddSourceContainerDialog extends TitleAreaDialog {
* @param types the complete list of source container types
* @return the list of source container types that have browsers
*/
- private ISourceContainerType[] filterTypes(ISourceContainerType[] types){
+ private ISourceContainerType[] filterTypes(ISourceContainerType[] types) {
ArrayList<ISourceContainerType> validTypes = new ArrayList<ISourceContainerType>();
- for (int i=0; i < types.length; i++) {
+ for (int i = 0; i < types.length; i++) {
ISourceContainerType type = types[i];
if (fDirector.supportsSourceContainerType(type)) {
ISourceContainerBrowser sourceContainerBrowser = DebugUITools.getSourceContainerBrowser(type.getId());
@@ -136,8 +136,8 @@ public class AddSourceContainerDialog extends TitleAreaDialog {
* @see org.eclipse.jface.dialogs.Dialog#okPressed()
*/
protected void okPressed() {
- //single selection dialog, so take first item in array
- //there will always be a selected item since we set it with viewer.setSelection
+ // Single selection dialog, so take first item in array
+ // there will always be a selected item since we set it with viewer.setSelection
ISourceContainerType type = (ISourceContainerType) ((StructuredSelection) fViewer.getSelection()).getFirstElement();
ISourceContainerBrowser browser = DebugUITools.getSourceContainerBrowser(type.getId());
if (browser != null) {

Back to the top