Skip to main content
summaryrefslogtreecommitdiffstats
path: root/dsf
diff options
context:
space:
mode:
authorMarc Khouzam2012-01-17 09:42:18 -0500
committerMarc Khouzam2012-01-17 09:42:18 -0500
commit2bafef2e42a8fc04637fef5bd468e0cd893894a0 (patch)
tree8e1a3e813bd22dd84d7ee3af613b65fe32d3e218 /dsf
parentd184e414d04125c66d85cf0c55e6b921d4d7c420 (diff)
downloadorg.eclipse.cdt-2bafef2e42a8fc04637fef5bd468e0cd893894a0.tar.gz
org.eclipse.cdt-2bafef2e42a8fc04637fef5bd468e0cd893894a0.tar.xz
org.eclipse.cdt-2bafef2e42a8fc04637fef5bd468e0cd893894a0.zip
Code cleanup, mostly about missing @Override
Diffstat (limited to 'dsf')
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/model/DisassemblyDocument.java2
-rw-r--r--dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/numberformat/FormattedValueVMUtil.java9
2 files changed, 8 insertions, 3 deletions
diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/model/DisassemblyDocument.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/model/DisassemblyDocument.java
index a23a5ac80e..34a2390f0b 100644
--- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/model/DisassemblyDocument.java
+++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/model/DisassemblyDocument.java
@@ -462,6 +462,7 @@ public class DisassemblyDocument extends REDDocument implements IDisassemblyDocu
* @return the address of the given document line number, -1 if no valid
* address can be computed
*/
+ @Override
public BigInteger getAddressOfLine(int line) {
try {
int offset = getLineOffset(line);
@@ -511,6 +512,7 @@ public class DisassemblyDocument extends REDDocument implements IDisassemblyDocu
* @param address
* @return
*/
+ @Override
public AddressRangePosition getDisassemblyPosition(BigInteger address) {
return getPositionOfAddress(CATEGORY_DISASSEMBLY, address);
}
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 187ffff3ff..18f79bd688 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
@@ -97,7 +97,8 @@ public class FormattedValueVMUtil {
* @deprecated Replaced by {@link #getPropertyForFormatId(String, String)}
*/
- public static String getPropertyForFormatId(String formatId) {
+ @Deprecated
+ public static String getPropertyForFormatId(String formatId) {
return getPropertyForFormatId(formatId, ""); //$NON-NLS-1$
}
@@ -147,7 +148,8 @@ public class FormattedValueVMUtil {
*
* @deprecated Replaced by {@link #getFormatFromProperty(String, String)}
*/
- public static String getFormatFromProperty(String property) {
+ @Deprecated
+ public static String getFormatFromProperty(String property) {
return getFormatFromProperty(property, ""); //$NON-NLS-1$
}
@@ -225,7 +227,8 @@ public class FormattedValueVMUtil {
* @deprecated This method has been replaced by the {@link FormattedValueRetriever}
* utility.
*/
- @ConfinedToDsfExecutor("service.getExecutor()")
+ @Deprecated
+ @ConfinedToDsfExecutor("service.getExecutor()")
public static void updateFormattedValues(
final IPropertiesUpdate updates[],
final IFormattedValues service,

Back to the top