Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/dsf
diff options
context:
space:
mode:
authorJonah Graham2018-11-20 16:20:42 +0000
committerJonah Graham2018-11-22 21:57:01 +0000
commiteeb3006e271eac4f5b319f2ca8007226efaadb58 (patch)
treee45472eb548ae7e97c3fdc4e87350672c8d315c7 /dsf
parentcaf2292768deccd885b5b6989b731742e2e5edf4 (diff)
downloadorg.eclipse.cdt-eeb3006e271eac4f5b319f2ca8007226efaadb58.tar.gz
org.eclipse.cdt-eeb3006e271eac4f5b319f2ca8007226efaadb58.tar.xz
org.eclipse.cdt-eeb3006e271eac4f5b319f2ca8007226efaadb58.zip
Bug 540373: Cleanup: Remove redundant semicolons
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Remove redundant semicolons and completing the wizard Change-Id: I3d3175cfdfadec4f815c551d486e42c9f57b80ce
Diffstat (limited to 'dsf')
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/actions/AbstractDsfRegisterGroupActions.java10
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/viewmodel/numberformat/detail/NumberFormatDetailPane.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/contexts/DsfSuspendTrigger.java8
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/AbstractDebugVMAdapter.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/ErrorLabelText.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointVMProvider.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointsChangedEvent.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractContainerVMNode.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/DefaultDsfSelectionPolicy.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/StackFramesVMNode.java16
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/modules/ModulesVMNode.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/FormattedValueRetriever.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/FormattedValueVMUtil.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/NumberFormatsPropertyTester.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/register/RegisterBitFieldVMNode.java4
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/register/RegisterVMNode.java4
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/VariableVMNode.java10
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/AbstractVMProvider.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/properties/PropertiesUpdateStatus.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/AbstractCache.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/CountingRequestMonitor.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/Query.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/ReflectionSequence.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/RequestCache.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/Sequence.java4
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/BreakpointsMediator.java10
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/BreakpointsMediator2.java8
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IRunControl.java4
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/ISignals.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/CommandCache.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/ICommandControlService.java4
-rw-r--r--dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARegisters.java4
-rw-r--r--dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/commands/PDAEventStopCommand.java2
-rw-r--r--dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/commands/PDAWatchCommand.java2
-rw-r--r--dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/CacheTests.java6
-rw-r--r--dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/RangeCacheTests.java8
-rw-r--r--dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/RmPerformanceTests.java2
-rw-r--r--dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/pda/service/command/CommandControlTestsBase.java3
-rw-r--r--dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/pda/util/Launching.java1
41 files changed, 75 insertions, 79 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/actions/AbstractDsfRegisterGroupActions.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/actions/AbstractDsfRegisterGroupActions.java
index bf0386689bc..ed1db18251c 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/actions/AbstractDsfRegisterGroupActions.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/actions/AbstractDsfRegisterGroupActions.java
@@ -535,7 +535,7 @@ public abstract class AbstractDsfRegisterGroupActions extends AbstractHandler {
} catch (CoreException e) {
failed(e);
}
- };
+ }
});
}
});
@@ -749,11 +749,11 @@ public abstract class AbstractDsfRegisterGroupActions extends AbstractHandler {
} catch (CoreException e) {
failed(e);
}
- };
+ }
});
}
});
- };
+ }
});
}
@@ -929,7 +929,7 @@ public abstract class AbstractDsfRegisterGroupActions extends AbstractHandler {
notifyUser(getStatus().getMessage());
}
- };
+ }
});
}
}
@@ -950,7 +950,7 @@ public abstract class AbstractDsfRegisterGroupActions extends AbstractHandler {
notifyUser(getStatus().getMessage());
}
- };
+ }
});
}
}
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/viewmodel/numberformat/detail/NumberFormatDetailPane.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/viewmodel/numberformat/detail/NumberFormatDetailPane.java
index 9f51bf47198..e7e4ef071ae 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/viewmodel/numberformat/detail/NumberFormatDetailPane.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/viewmodel/numberformat/detail/NumberFormatDetailPane.java
@@ -386,7 +386,7 @@ public class NumberFormatDetailPane implements IDetailPane2, IAdaptable, IProper
}
detailComputed(null, finalResult.toString());
- };
+ }
}) });
}
}) });
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/contexts/DsfSuspendTrigger.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/contexts/DsfSuspendTrigger.java
index d26bfa0554d..960f6453b18 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/contexts/DsfSuspendTrigger.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/contexts/DsfSuspendTrigger.java
@@ -261,7 +261,7 @@ public class DsfSuspendTrigger implements ISuspendTrigger {
rm.setData(Boolean.FALSE);
}
rm.done();
- };
+ }
};
int count = 0;
for (final IContainerDMContext containerCtx : getData()) {
@@ -273,7 +273,7 @@ public class DsfSuspendTrigger implements ISuspendTrigger {
rm.setData(Boolean.TRUE);
}
crm.done();
- };
+ }
});
count++;
}
@@ -340,7 +340,7 @@ public class DsfSuspendTrigger implements ISuspendTrigger {
rm.setData(Boolean.FALSE);
}
rm.done();
- };
+ }
};
int count = 0;
for (IExecutionDMContext execCtx : getData()) {
@@ -353,7 +353,7 @@ public class DsfSuspendTrigger implements ISuspendTrigger {
rm.setData(Boolean.TRUE);
}
crm.done();
- };
+ }
});
count++;
}
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java
index 8fa41bd7832..016b6c9b950 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/sourcelookup/DsfSourceDisplayAdapter.java
@@ -918,7 +918,7 @@ public class DsfSourceDisplayAdapter implements ISourceDisplay, ISteppingControl
@Override
public void run() {
fController.doneStepping(dmc, DsfSourceDisplayAdapter.this);
- };
+ }
});
} catch (RejectedExecutionException e) {
// Session is shutdown
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/AbstractDebugVMAdapter.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/AbstractDebugVMAdapter.java
index 4b41f1155c3..10a4b7eb6ed 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/AbstractDebugVMAdapter.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/AbstractDebugVMAdapter.java
@@ -60,7 +60,7 @@ public class AbstractDebugVMAdapter extends AbstractDMVMAdapter implements IStep
@Override
public void run() {
fController.doneStepping(suspendedEvent.getDMContext(), AbstractDebugVMAdapter.this);
- };
+ }
});
}
}
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/ErrorLabelText.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/ErrorLabelText.java
index d2b2170d0b8..88999e74be6 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/ErrorLabelText.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/ErrorLabelText.java
@@ -70,5 +70,5 @@ public class ErrorLabelText extends LabelText {
return !status.isOK();
}
return super.checkProperty(propertyName, status, properties);
- };
+ }
}
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointVMProvider.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointVMProvider.java
index c9cd14274d2..6caaed1dc79 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointVMProvider.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointVMProvider.java
@@ -163,7 +163,7 @@ public class BreakpointVMProvider extends AbstractVMProvider {
}
});
}
- };
+ }
private final Map<TreePath, ContainerBreakpointsCache> fContainerBreakpointsCacheMap = new HashMap<>();
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointsChangedEvent.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointsChangedEvent.java
index c68618fc7a4..8629c97d090 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointsChangedEvent.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointsChangedEvent.java
@@ -21,7 +21,7 @@ import org.eclipse.debug.core.model.IBreakpoint;
public class BreakpointsChangedEvent {
public enum Type {
ADDED, REMOVED, CHANGED
- };
+ }
private final Type fType;
private final IBreakpoint[] fBreakpoints;
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractContainerVMNode.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractContainerVMNode.java
index 3080c3a15bc..d1b5914dc79 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractContainerVMNode.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractContainerVMNode.java
@@ -112,7 +112,7 @@ public abstract class AbstractContainerVMNode extends AbstractExecutionContextVM
@Override
public boolean isEnabled(IStatus status, java.util.Map<String, Object> properties) {
return Boolean.TRUE.equals(properties.get(ILaunchVMConstants.PROP_IS_SUSPENDED));
- };
+ }
},
new LabelImage(DebugUITools.getImageDescriptor(IDebugUIConstants.IMG_OBJS_DEBUG_TARGET)), }));
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java
index d512be5d092..ed1ef7b3afb 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/AbstractThreadVMNode.java
@@ -116,7 +116,7 @@ public abstract class AbstractThreadVMNode extends AbstractExecutionContextVMNod
@Override
public boolean isEnabled(IStatus status, java.util.Map<String, Object> properties) {
return Boolean.FALSE.equals(properties.get(ILaunchVMConstants.PROP_IS_SUSPENDED));
- };
+ }
}, new LabelImage(
DebugUITools.getImageDescriptor(IDebugUIConstants.IMG_OBJS_THREAD_SUSPENDED)), }));
return provider;
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/DefaultDsfSelectionPolicy.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/DefaultDsfSelectionPolicy.java
index adc5fa78f80..cfce1eb28d3 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/DefaultDsfSelectionPolicy.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/DefaultDsfSelectionPolicy.java
@@ -216,7 +216,7 @@ public class DefaultDsfSelectionPolicy implements IModelSelectionPolicy {
rm.setData(getData()
.getStateChangeReason() == IRunControl.StateChangeReason.CONTAINER);
rm.done();
- };
+ }
});
} else {
// If container is not suspended it's running, then do not override the selection.
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/StackFramesVMNode.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/StackFramesVMNode.java
index 096c68ce6a9..d21b30f05b7 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/StackFramesVMNode.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/StackFramesVMNode.java
@@ -169,7 +169,7 @@ public class StackFramesVMNode extends AbstractDMVMNode
String function = (String) properties.get(ILaunchVMConstants.PROP_FRAME_FUNCTION);
return line != null && line >= 0 && file != null && !file.isEmpty() && function != null
&& function.contains(")"); //$NON-NLS-1$
- };
+ }
}, new LabelText(MessagesForLaunchVM.StackFramesVMNode_No_columns__add_parens__text_format,
new String[] { ILaunchVMConstants.PROP_FRAME_ADDRESS, ILaunchVMConstants.PROP_FRAME_FUNCTION,
ILaunchVMConstants.PROP_FRAME_FILE, ILaunchVMConstants.PROP_FRAME_LINE,
@@ -181,7 +181,7 @@ public class StackFramesVMNode extends AbstractDMVMNode
String function = (String) properties.get(ILaunchVMConstants.PROP_FRAME_FUNCTION);
return line != null && line >= 0 && file != null && !file.isEmpty()
&& (function == null || !function.contains(")")); //$NON-NLS-1$
- };
+ }
}, new LabelText(MessagesForLaunchVM.StackFramesVMNode_No_columns__No_line__text_format,
new String[] { ILaunchVMConstants.PROP_FRAME_ADDRESS, ILaunchVMConstants.PROP_FRAME_FUNCTION,
ILaunchVMConstants.PROP_FRAME_MODULE }) {
@@ -191,7 +191,7 @@ public class StackFramesVMNode extends AbstractDMVMNode
String module = (String) properties.get(ILaunchVMConstants.PROP_FRAME_MODULE);
return function != null && !function.isEmpty() && function.contains(")") && //$NON-NLS-1$
module != null && !module.isEmpty();
- };
+ }
}, new LabelText(MessagesForLaunchVM.StackFramesVMNode_No_columns__No_line__add_parens__text_format,
new String[] { ILaunchVMConstants.PROP_FRAME_ADDRESS, ILaunchVMConstants.PROP_FRAME_FUNCTION,
ILaunchVMConstants.PROP_FRAME_MODULE }) {
@@ -201,14 +201,14 @@ public class StackFramesVMNode extends AbstractDMVMNode
String module = (String) properties.get(ILaunchVMConstants.PROP_FRAME_MODULE);
return function != null && !function.isEmpty() && !function.contains(")") && //$NON-NLS-1$
module != null && !module.isEmpty();
- };
+ }
}, new LabelText(MessagesForLaunchVM.StackFramesVMNode_No_columns__No_function__text_format,
new String[] { ILaunchVMConstants.PROP_FRAME_ADDRESS, ILaunchVMConstants.PROP_FRAME_MODULE }) {
@Override
public boolean isEnabled(IStatus status, java.util.Map<String, Object> properties) {
String module = (String) properties.get(ILaunchVMConstants.PROP_FRAME_MODULE);
return module != null && !module.isEmpty();
- };
+ }
}, new LabelText(MessagesForLaunchVM.StackFramesVMNode_No_columns__No_module__text_format,
new String[] { ILaunchVMConstants.PROP_FRAME_ADDRESS,
ILaunchVMConstants.PROP_FRAME_FUNCTION }) {
@@ -216,7 +216,7 @@ public class StackFramesVMNode extends AbstractDMVMNode
public boolean isEnabled(IStatus status, java.util.Map<String, Object> properties) {
String function = (String) properties.get(ILaunchVMConstants.PROP_FRAME_FUNCTION);
return function != null && !function.isEmpty() && function.contains(")"); //$NON-NLS-1$
- };
+ }
}, new LabelText(MessagesForLaunchVM.StackFramesVMNode_No_columns__No_module__add_parens__text_format,
new String[] { ILaunchVMConstants.PROP_FRAME_ADDRESS,
ILaunchVMConstants.PROP_FRAME_FUNCTION }) {
@@ -224,7 +224,7 @@ public class StackFramesVMNode extends AbstractDMVMNode
public boolean isEnabled(IStatus status, java.util.Map<String, Object> properties) {
String function = (String) properties.get(ILaunchVMConstants.PROP_FRAME_FUNCTION);
return function != null && !function.isEmpty() && !function.contains(")"); //$NON-NLS-1$
- };
+ }
}, new LabelText(MessagesForLaunchVM.StackFramesVMNode_No_columns__Address_only__text_format,
new String[] { ILaunchVMConstants.PROP_FRAME_ADDRESS }),
new LabelImage(DebugUITools.getImageDescriptor(IDebugUIConstants.IMG_OBJS_STACKFRAME_RUNNING)) {
@@ -235,7 +235,7 @@ public class StackFramesVMNode extends AbstractDMVMNode
@Override
public boolean isEnabled(IStatus status, java.util.Map<String, Object> properties) {
return Boolean.FALSE.equals(properties.get(ILaunchVMConstants.PROP_IS_SUSPENDED));
- };
+ }
}, new LabelImage(DebugUITools.getImageDescriptor(IDebugUIConstants.IMG_OBJS_STACKFRAME)) }));
return provider;
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/modules/ModulesVMNode.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/modules/ModulesVMNode.java
index 6addf86c22e..272ee99587c 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/modules/ModulesVMNode.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/modules/ModulesVMNode.java
@@ -104,7 +104,7 @@ public class ModulesVMNode extends AbstractDMVMNode implements IElementLabelProv
return Boolean.TRUE.equals(properties.get(propertyName));
}
return super.checkProperty(propertyName, status, properties);
- };
+ }
}, new DsfUILabelImage(IDsfDebugUIConstants.IMG_OBJS_SHARED_LIBRARY_SYMBOLS_UNLOADED),
new StaleDataLabelBackground(), new LabelFont(JFaceResources
.getFontDescriptor(IDebugUIConstants.PREF_VARIABLE_TEXT_FONT).getFontData()[0]) }));
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/FormattedValueRetriever.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/FormattedValueRetriever.java
index d146a85daf5..b3dbfc60a88 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/FormattedValueRetriever.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/FormattedValueRetriever.java
@@ -546,7 +546,7 @@ public class FormattedValueRetriever {
// Note: we must not call the update's done method, instead call counting RM done.
countingRm.done();
- };
+ }
});
count++;
}
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/FormattedValueVMUtil.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/FormattedValueVMUtil.java
index 1f73d0b61d6..d08ae709890 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/FormattedValueVMUtil.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/FormattedValueVMUtil.java
@@ -425,7 +425,7 @@ public class FormattedValueVMUtil {
countingRm.done();
// Note: we must not call the update's done method
- };
+ }
});
count++;
}
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/NumberFormatsPropertyTester.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/NumberFormatsPropertyTester.java
index d821dc95729..72abad6d9b1 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/NumberFormatsPropertyTester.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/NumberFormatsPropertyTester.java
@@ -62,7 +62,7 @@ public class NumberFormatsPropertyTester extends PropertyTester {
AVAILABLE_FORMATS.add(IFormattedValues.OCTAL_FORMAT);
AVAILABLE_FORMATS.add(IFormattedValues.BINARY_FORMAT);
AVAILABLE_FORMATS.add(IFormattedValues.STRING_FORMAT);
- };
+ }
@Override
public boolean test(Object receiver, String property, Object[] args, Object expectedValue) {
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/register/RegisterBitFieldVMNode.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/register/RegisterBitFieldVMNode.java
index 426cc1ffd71..3a4056096b8 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/register/RegisterBitFieldVMNode.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/register/RegisterBitFieldVMNode.java
@@ -485,7 +485,7 @@ public class RegisterBitFieldVMNode extends AbstractExpressionVMNode
for (int i = 0; i < updates.length; i++) {
updates[i].done();
}
- };
+ }
};
int count = 0;
@@ -543,7 +543,7 @@ public class RegisterBitFieldVMNode extends AbstractExpressionVMNode
for (final IPropertiesUpdate update : updates) {
update.done();
}
- };
+ }
};
int count = 0;
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/register/RegisterVMNode.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/register/RegisterVMNode.java
index cfc91588032..143f56b8b48 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/register/RegisterVMNode.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/register/RegisterVMNode.java
@@ -459,7 +459,7 @@ public class RegisterVMNode extends AbstractExpressionVMNode
for (int i = 0; i < updates.length; i++) {
updates[i].done();
}
- };
+ }
};
int count = 0;
@@ -522,7 +522,7 @@ public class RegisterVMNode extends AbstractExpressionVMNode
for (final IPropertiesUpdate update : updates) {
update.done();
}
- };
+ }
};
int count = 0;
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/VariableVMNode.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/VariableVMNode.java
index f7d3c1b0221..4c324bab7df 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/VariableVMNode.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/VariableVMNode.java
@@ -398,7 +398,7 @@ public class VariableVMNode extends AbstractExpressionVMNode
+ FormattedValueVMUtil.getPropertyForFormatId(IFormattedValues.STRING_FORMAT));
return Boolean.TRUE.equals(stringChanged)
|| (Boolean.TRUE.equals(activeChanged) && !Boolean.TRUE.equals(activeFormatChanged));
- };
+ }
};
columnNoColumnsBackground = new LabelBackground(
@@ -511,7 +511,7 @@ public class VariableVMNode extends AbstractExpressionVMNode
public boolean isEnabled(IStatus status, java.util.Map<String, Object> properties) {
Boolean changed = (Boolean) properties.get(PROP_VARIABLE_ADDRESS_CHANGED);
return Boolean.TRUE.equals(changed);
- };
+ }
}, new StaleDataLabelForeground(), new VariableLabelFont(), }));
// Description column is shown in the expression view, but is not supported for variables.
@@ -615,7 +615,7 @@ public class VariableVMNode extends AbstractExpressionVMNode
Boolean activeChanged = (Boolean) properties
.get(IDebugVMConstants.PROP_IS_ACTIVE_FORMATTED_VALUE_CHANGED);
return Boolean.TRUE.equals(stringChanged) || Boolean.TRUE.equals(activeChanged);
- };
+ }
}, columnNoColumnsBackground, new StaleDataLabelBackground(), new VariableLabelFont(), }));
return provider;
@@ -654,7 +654,7 @@ public class VariableVMNode extends AbstractExpressionVMNode
for (int i = 0; i < updates.length; i++) {
updates[i].done();
}
- };
+ }
};
int count = 0;
@@ -712,7 +712,7 @@ public class VariableVMNode extends AbstractExpressionVMNode
for (final IPropertiesUpdate update : updates) {
update.done();
}
- };
+ }
};
int count = 0;
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/AbstractVMProvider.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/AbstractVMProvider.java
index fe6ec9decb3..58d4fd9f28f 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/AbstractVMProvider.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/AbstractVMProvider.java
@@ -451,7 +451,7 @@ abstract public class AbstractVMProvider implements IVMProvider, IVMEventListene
}
}
fNodesListCache = list.toArray(new IVMNode[list.size()]);
- ;
+
return fNodesListCache;
}
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/properties/PropertiesUpdateStatus.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/properties/PropertiesUpdateStatus.java
index 26df13d87f0..6bc33fb7973 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/properties/PropertiesUpdateStatus.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/properties/PropertiesUpdateStatus.java
@@ -216,7 +216,7 @@ public class PropertiesUpdateStatus extends DsfMultiStatus {
return false;
}
return s1.getMessage().equals(s2.getMessage());
- };
+ }
/**
* Convenience method that returns and optionally creates a properties
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/AbstractCache.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/AbstractCache.java
index a8cc47eddaa..0d2eb1f4bdf 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/AbstractCache.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/AbstractCache.java
@@ -48,7 +48,7 @@ public abstract class AbstractCache<V> implements ICache<V> {
}
});
}
- };
+ }
private RequestCanceledListener fRequestCanceledListener = new RequestCanceledListener();
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/CountingRequestMonitor.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/CountingRequestMonitor.java
index b4bee553e6f..22766dc7aa5 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/CountingRequestMonitor.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/CountingRequestMonitor.java
@@ -121,5 +121,5 @@ public class CountingRequestMonitor extends RequestMonitor {
if ((getStatus() instanceof MultiStatus)) {
((MultiStatus) getStatus()).add(status);
}
- };
+ }
}
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/Query.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/Query.java
index 871c5a2daf8..de95e4e856a 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/Query.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/Query.java
@@ -84,7 +84,7 @@ abstract public class Query<V> extends DsfRunnable implements Future<V> {
fExecuted = true;
return true;
}
- };
+ }
private final QueryRm fRm = new QueryRm();
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/ReflectionSequence.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/ReflectionSequence.java
index a1a8321fbcf..bf811054ca8 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/ReflectionSequence.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/ReflectionSequence.java
@@ -150,7 +150,7 @@ abstract public class ReflectionSequence extends Sequence {
assert executeMethod != null;
fExecuteMethod = executeMethod;
- ;
+
fRollbackMethod = rollbackMethod;
}
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/RequestCache.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/RequestCache.java
index 1a5fea490e5..3755a20cdfe 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/RequestCache.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/RequestCache.java
@@ -67,7 +67,7 @@ public abstract class RequestCache<V> extends AbstractCache<V> {
@Override
public boolean isCanceled() {
return super.isCanceled() || RequestCache.this.isCanceled();
- };
+ }
};
retrieve(fRm);
}
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/Sequence.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/Sequence.java
index ffff271a449..255001912e6 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/Sequence.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/concurrent/Sequence.java
@@ -441,12 +441,12 @@ abstract public class Sequence extends DsfRunnable implements Future<Object> {
protected void handleCancel() {
Sequence.this.cancel(false);
cancelExecution();
- };
+ }
@Override
protected void handleErrorOrWarning() {
abortExecution(getStatus(), true);
- };
+ }
@Override
protected void handleRejectedExecutionException() {
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/BreakpointsMediator.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/BreakpointsMediator.java
index 380e167384d..0516ceaa24e 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/BreakpointsMediator.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/BreakpointsMediator.java
@@ -369,7 +369,7 @@ public class BreakpointsMediator extends AbstractDsfService implements IBreakpoi
protected IStatus run(IProgressMonitor monitor) {
fAttributeTranslator.updateBreakpointStatus(bp);
return Status.OK_STATUS;
- };
+ }
}.schedule();
countingRm.done();
@@ -424,7 +424,7 @@ public class BreakpointsMediator extends AbstractDsfService implements IBreakpoi
protected IStatus run(IProgressMonitor monitor) {
fAttributeTranslator.updateBreakpointStatus(breakpoint);
return Status.OK_STATUS;
- };
+ }
}.schedule();
rm.done();
}
@@ -503,7 +503,7 @@ public class BreakpointsMediator extends AbstractDsfService implements IBreakpoi
protected IStatus run(IProgressMonitor monitor) {
fAttributeTranslator.updateBreakpointStatus(breakpoint);
return Status.OK_STATUS;
- };
+ }
}.schedule();
rm.done();
@@ -616,7 +616,7 @@ public class BreakpointsMediator extends AbstractDsfService implements IBreakpoi
protected IStatus run(IProgressMonitor monitor) {
fAttributeTranslator.updateBreakpointStatus(breakpoint);
return Status.OK_STATUS;
- };
+ }
}.schedule();
super.handleCompleted();
@@ -854,7 +854,7 @@ public class BreakpointsMediator extends AbstractDsfService implements IBreakpoi
protected IStatus run(IProgressMonitor monitor) {
breakpointChanged(breakpoint, delta);
return Status.OK_STATUS;
- };
+ }
}.schedule();
}
}
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/BreakpointsMediator2.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/BreakpointsMediator2.java
index dac53b96c55..acc7b20781a 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/BreakpointsMediator2.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/BreakpointsMediator2.java
@@ -82,7 +82,7 @@ import org.osgi.framework.BundleContext;
public class BreakpointsMediator2 extends AbstractDsfService implements IBreakpointsListener {
public enum BreakpointEventType {
ADDED, REMOVED, MODIFIED
- };
+ }
/**
* The attribute translator that this service will use to map the platform
@@ -802,7 +802,7 @@ public class BreakpointsMediator2 extends AbstractDsfService implements IBreakpo
targetBPs.put(dmc,
getData().toArray(new ITargetBreakpointInfo[getData().size()]));
super.handleSuccess();
- };
+ }
});
}
});
@@ -1099,7 +1099,7 @@ public class BreakpointsMediator2 extends AbstractDsfService implements IBreakpo
protected void handleSuccess() {
targetBPs.put(dmc, getData().toArray(new ITargetBreakpointInfo[getData().size()]));
super.handleSuccess();
- };
+ }
});
bpTargetsCoutingRMCount++;
} else {
@@ -1177,7 +1177,7 @@ public class BreakpointsMediator2 extends AbstractDsfService implements IBreakpo
protected IStatus run(IProgressMonitor monitor) {
fAttributeTranslator2.updateBreakpointsStatus(eventBPs, eventType);
return Status.OK_STATUS;
- };
+ }
}.schedule();
}
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IRunControl.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IRunControl.java
index b8f08701dfb..9c414938cec 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IRunControl.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/IRunControl.java
@@ -55,7 +55,7 @@ public interface IRunControl extends IDsfService {
/** @since 2.1 */
EVENT_BREAKPOINT
- };
+ }
/**
* Indicates that the given thread has suspended.
@@ -170,7 +170,7 @@ public interface IRunControl extends IDsfService {
* @since 2.0
*/
INSTRUCTION_STEP_RETURN
- };
+ }
boolean isStepping(IExecutionDMContext context);
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/ISignals.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/ISignals.java
index ae990f81aac..9e92008b154 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/ISignals.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/ISignals.java
@@ -26,6 +26,6 @@ public interface ISignals extends IDsfService {
* Marker interface for a context for which signals can be set.
*/
public interface ISignalsDMContext extends IDMContext {
- };
+ }
}
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/CommandCache.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/CommandCache.java
index b400275a6a8..c54fdaa783a 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/CommandCache.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/CommandCache.java
@@ -422,7 +422,7 @@ public class CommandCache implements ICommandListener {
// protect against the cache being called in non-session thread, but at
// the same time avoid adding extra dispatch cycles to command processing.
if (fSession.getExecutor().isInExecutorThread()) {
- ;
+
super.done();
} else {
fSession.getExecutor().execute(new DsfRunnable() {
diff --git a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/ICommandControlService.java b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/ICommandControlService.java
index c80ab6603ac..fe4b7aa298b 100644
--- a/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/ICommandControlService.java
+++ b/dsf/org.eclipse.cdt.dsf/src/org/eclipse/cdt/dsf/debug/service/command/ICommandControlService.java
@@ -43,13 +43,13 @@ public interface ICommandControlService extends ICommandControl, IDsfService {
* Event indicating that the back end process has started.
*/
public interface ICommandControlInitializedDMEvent extends IDMEvent<ICommandControlDMContext> {
- };
+ }
/**
* Event indicating that the back end process has terminated.
*/
public interface ICommandControlShutdownDMEvent extends IDMEvent<ICommandControlDMContext> {
- };
+ }
/**
* Returns the identifier of this command control service. It can be used
diff --git a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARegisters.java b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARegisters.java
index be1dc5c3735..46c5f7ed020 100644
--- a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARegisters.java
+++ b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/PDARegisters.java
@@ -428,7 +428,7 @@ public class PDARegisters extends AbstractDsfService implements IRegisters, IEve
}
rm.setData(groups);
rm.done();
- };
+ }
});
}
@@ -457,7 +457,7 @@ public class PDARegisters extends AbstractDsfService implements IRegisters, IEve
}
rm.setData(groups);
rm.done();
- };
+ }
});
}
diff --git a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/commands/PDAEventStopCommand.java b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/commands/PDAEventStopCommand.java
index b3b8e72edcd..082c0f1a94d 100644
--- a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/commands/PDAEventStopCommand.java
+++ b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/commands/PDAEventStopCommand.java
@@ -33,7 +33,7 @@ public class PDAEventStopCommand extends AbstractPDACommand<PDACommandResult> {
public enum Event {
UNIMPINSTR, NOSUCHLABEL
- };
+ }
public PDAEventStopCommand(PDAVirtualMachineDMContext context, Event event, boolean enable) {
super(context,
diff --git a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/commands/PDAWatchCommand.java b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/commands/PDAWatchCommand.java
index c25a48476e0..9732f976344 100644
--- a/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/commands/PDAWatchCommand.java
+++ b/dsf/org.eclipse.cdt.examples.dsf.pda/src/org/eclipse/cdt/examples/dsf/pda/service/commands/PDAWatchCommand.java
@@ -32,7 +32,7 @@ public class PDAWatchCommand extends AbstractPDACommand<PDACommandResult> {
public enum WatchOperation {
READ, WRITE, BOTH, NONE
- };
+ }
private static int getWatchOperationCode(WatchOperation operation) {
switch (operation) {
diff --git a/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/CacheTests.java b/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/CacheTests.java
index 09263a25193..75d88e6cd2b 100644
--- a/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/CacheTests.java
+++ b/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/CacheTests.java
@@ -556,7 +556,7 @@ public class CacheTests {
@Override
protected synchronized void canceled() {
canceledCalled[0] = true;
- };
+ }
};
// Request data from cache
@@ -657,13 +657,13 @@ public class CacheTests {
@Override
public synchronized void done() {
// Avoid clearing cancel listeners list
- };
+ }
@Override
protected void handleSuccess() {
rm.setData(fTestCache.getData());
rm.done();
- };
+ }
};
fTestCache.update(rmBad[0]);
diff --git a/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/RangeCacheTests.java b/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/RangeCacheTests.java
index 5070560cbff..3d33a47f479 100644
--- a/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/RangeCacheTests.java
+++ b/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/RangeCacheTests.java
@@ -331,7 +331,7 @@ public class RangeCacheTests {
@Override
public void run() {
fTestCache.reset();
- };
+ }
}).get();
getRange(0, 100, new long[] { 0 }, new int[] { 100 });
@@ -359,7 +359,7 @@ public class RangeCacheTests {
@Override
public void run() {
fTestCache.reset();
- };
+ }
}).get();
// Retrieve a range in-between two cached ranges
@@ -398,7 +398,7 @@ public class RangeCacheTests {
@Override
public void run() {
fTestCache.reset();
- };
+ }
}).get();
// Set the data without using an executor.
@@ -424,7 +424,7 @@ public class RangeCacheTests {
public void run() {
fTestCache.set(0, 100, null, new Status(IStatus.ERROR, DsfTestPlugin.PLUGIN_ID,
IDsfStatusConstants.INVALID_STATE, "Cache invalid", null));
- };
+ }
}).get();
// Retrieve a range cache and check that it immediately contains the error status in it.
diff --git a/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/RmPerformanceTests.java b/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/RmPerformanceTests.java
index a9cc7b24b62..d81e063e4cc 100644
--- a/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/RmPerformanceTests.java
+++ b/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/concurrent/RmPerformanceTests.java
@@ -83,7 +83,7 @@ public class RmPerformanceTests extends TestCase {
@Override
protected void handleCompleted() {
// do not call parent so it can be reused
- };
+ }
};
rm.done();
}
diff --git a/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/pda/service/command/CommandControlTestsBase.java b/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/pda/service/command/CommandControlTestsBase.java
index 638a3b303dd..0e9ce935a0b 100644
--- a/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/pda/service/command/CommandControlTestsBase.java
+++ b/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/pda/service/command/CommandControlTestsBase.java
@@ -62,7 +62,6 @@ public class CommandControlTestsBase {
fCommandControl.initialize(rm);
}
}
- ;
fExecutor = new DefaultDsfExecutor();
fSession = DsfSession.startSession(fExecutor, "PDA Test");
@@ -104,7 +103,6 @@ public class CommandControlTestsBase {
fCommandControl.shutdown(rm);
}
}
- ;
if (fExecutor != null) {
ShutdownCommandServiceQuery shutdownQuery = new ShutdownCommandServiceQuery();
@@ -118,7 +116,6 @@ public class CommandControlTestsBase {
fPDABackend.shutdown(rm);
}
}
- ;
if (fExecutor != null) {
ShutdownBackendServiceQuery shutdownQuery = new ShutdownBackendServiceQuery();
diff --git a/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/pda/util/Launching.java b/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/pda/util/Launching.java
index bfd0bf1549f..8621a32fb53 100644
--- a/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/pda/util/Launching.java
+++ b/dsf/org.eclipse.cdt.tests.dsf/src/org/eclipse/cdt/tests/dsf/pda/util/Launching.java
@@ -38,7 +38,6 @@ public class Launching {
fBackendService.initialize(rm);
}
}
- ;
fBackendService = new PDABackend(session, launch, pdaProgram);
InitializeBackendServiceQuery initQuery = new InitializeBackendServiceQuery();

Back to the top