Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-05-25 17:42:28 -0400
committerSergey Prigogin2011-05-25 17:42:28 -0400
commitf5fb221fa225654fe4753256db66936f2ef5626f (patch)
tree501ee882ab8efee93a249fe48f53ea3d1ad47641 /debug/org.eclipse.cdt.debug.ui
parentd7e90486850c19b7d5cd88f110bb1eb941c02f29 (diff)
downloadorg.eclipse.cdt-f5fb221fa225654fe4753256db66936f2ef5626f.tar.gz
org.eclipse.cdt-f5fb221fa225654fe4753256db66936f2ef5626f.tar.xz
org.eclipse.cdt-f5fb221fa225654fe4753256db66936f2ef5626f.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/ui/AbstractCDebuggerPage.java19
1 files changed, 9 insertions, 10 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/AbstractCDebuggerPage.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/AbstractCDebuggerPage.java
index 83c2c39f1b..d038b0ff3f 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/AbstractCDebuggerPage.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/AbstractCDebuggerPage.java
@@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * QNX Software Systems - Initial API and implementation
+ * QNX Software Systems - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.debug.ui;
@@ -17,8 +17,7 @@ import org.eclipse.debug.ui.AbstractLaunchConfigurationTab;
* Common function for debugger pages.
* @since 3.1
*/
-abstract public class AbstractCDebuggerPage
- extends AbstractLaunchConfigurationTab
+abstract public class AbstractCDebuggerPage extends AbstractLaunchConfigurationTab
implements ICDebuggerPage, ICDebuggerPageExtension {
private String fDebuggerID = null;
@@ -32,7 +31,7 @@ abstract public class AbstractCDebuggerPage
/* (non-Javadoc)
* @see org.eclipse.cdt.debug.ui.ICDebuggerPage#init(java.lang.String)
*/
- public void init( String debuggerID ) {
+ public void init(String debuggerID) {
fDebuggerID = debuggerID;
}
@@ -56,16 +55,16 @@ abstract public class AbstractCDebuggerPage
* @see org.eclipse.cdt.debug.ui.ICDebuggerPageExtension#addContentChangeListener(org.eclipse.cdt.debug.ui.ICDebuggerPageExtension.IContentChangeListener)
*/
/** @since 7.0 */
- public void addContentChangeListener( IContentChangeListener listener ) {
- fContentListeners.add( listener );
+ public void addContentChangeListener(IContentChangeListener listener) {
+ fContentListeners.add(listener);
}
/* (non-Javadoc)
* @see org.eclipse.cdt.debug.ui.ICDebuggerPageExtension#removeContentChangeListener(org.eclipse.cdt.debug.ui.ICDebuggerPageExtension.IContentChangeListener)
*/
/** @since 7.0 */
- public void removeContentChangeListener( IContentChangeListener listener ) {
- fContentListeners.remove( listener );
+ public void removeContentChangeListener(IContentChangeListener listener) {
+ fContentListeners.remove(listener);
}
/**
@@ -74,7 +73,7 @@ abstract public class AbstractCDebuggerPage
* @since 7.0
*/
protected void contentChanged() {
- for ( Object l : fContentListeners.getListeners() )
- ((IContentChangeListener)l).contentChanged();
+ for (Object listener : fContentListeners.getListeners())
+ ((IContentChangeListener) listener).contentChanged();
}
}

Back to the top