Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/codan
diff options
context:
space:
mode:
authorJonah Graham2018-11-20 22:14:08 +0000
committerJonah Graham2018-11-22 22:00:29 +0000
commitaa1040a21ab27e9dd0c666e12022ec3dcb569d84 (patch)
treeaaddf487bc15bbc277fd44c00d72fdf229360db1 /codan
parenteeb3006e271eac4f5b319f2ca8007226efaadb58 (diff)
downloadorg.eclipse.cdt-aa1040a21ab27e9dd0c666e12022ec3dcb569d84.tar.gz
org.eclipse.cdt-aa1040a21ab27e9dd0c666e12022ec3dcb569d84.tar.xz
org.eclipse.cdt-aa1040a21ab27e9dd0c666e12022ec3dcb569d84.zip
Bug 540373: Remove '(non-Javadoc)' comments
These were inserted in the past automatically by Eclipse but newer tooling makes them redundant. These were removed by doing a global find/replace on *.java files using the following regular expression: \t/\*\n\t \* \(non-Javadoc\)[^/]*/\n Change-Id: I59d3248020f10934fde1dda5b5a31e20bb188e19
Diffstat (limited to 'codan')
-rw-r--r--codan/org.eclipse.cdt.codan.checkers.ui.tests/src/org/eclipse/cdt/codan/checkers/ui/Activator.java8
-rw-r--r--codan/org.eclipse.cdt.codan.checkers.ui/src/org/eclipse/cdt/codan/internal/checkers/ui/CheckersUiActivator.java14
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/checkers/CodanCheckersActivator.java14
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/SuggestedParenthesisChecker.java7
-rw-r--r--codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/Activator.java12
-rw-r--r--codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/internal/model/cfg/CxxBranchNode.java5
-rw-r--r--codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/internal/model/cfg/CxxStartNode.java5
-rw-r--r--codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/model/AbstractIndexAstChecker.java6
-rw-r--r--codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/core/cfg/ControlFlowGraphTest.java5
-rw-r--r--codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/core/tests/CodanCoreTestActivator.java12
-rw-r--r--codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/internal/checkers/ui/quickfix/CreateLocalVariableQuickFixTest.java5
-rw-r--r--codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/CodanCorePlugin.java12
-rw-r--r--codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/model/AbstractProblemLocation.java15
-rw-r--r--codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/param/BasicProblemPreference.java7
-rw-r--r--codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/param/FileScopeProblemPreference.java5
-rw-r--r--codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/ConnectorNode.java17
-rw-r--r--codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/ControlFlowGraph.java23
-rw-r--r--codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/JumpNode.java5
-rw-r--r--codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/NodeFactory.java32
-rw-r--r--codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/PlainNode.java7
-rw-r--r--codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblem.java37
-rw-r--r--codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblemCategory.java12
-rw-r--r--codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblemElement.java10
-rw-r--r--codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/Activator.java12
-rw-r--r--codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/checkers/GrepChecker.java7
-rw-r--r--codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/checkers/NamingConventionFunctionIIndexChecker.java14
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/src/org/eclipse/cdt/codan/ui/cfgview/ControlFlowGraphPlugin.java14
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/CustomizeProblemDialog.java12
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java10
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CheckedTreeEditor.java27
30 files changed, 0 insertions, 371 deletions
diff --git a/codan/org.eclipse.cdt.codan.checkers.ui.tests/src/org/eclipse/cdt/codan/checkers/ui/Activator.java b/codan/org.eclipse.cdt.codan.checkers.ui.tests/src/org/eclipse/cdt/codan/checkers/ui/Activator.java
index ea07682189..ab07e237c5 100644
--- a/codan/org.eclipse.cdt.codan.checkers.ui.tests/src/org/eclipse/cdt/codan/checkers/ui/Activator.java
+++ b/codan/org.eclipse.cdt.codan.checkers.ui.tests/src/org/eclipse/cdt/codan/checkers/ui/Activator.java
@@ -25,19 +25,11 @@ public class Activator implements BundleActivator {
return context;
}
- /*
- * (non-Javadoc)
- * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
- */
@Override
public void start(BundleContext bundleContext) throws Exception {
Activator.context = bundleContext;
}
- /*
- * (non-Javadoc)
- * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
- */
@Override
public void stop(BundleContext bundleContext) throws Exception {
Activator.context = null;
diff --git a/codan/org.eclipse.cdt.codan.checkers.ui/src/org/eclipse/cdt/codan/internal/checkers/ui/CheckersUiActivator.java b/codan/org.eclipse.cdt.codan.checkers.ui/src/org/eclipse/cdt/codan/internal/checkers/ui/CheckersUiActivator.java
index 78cbf6184c..1a5b5c9a54 100644
--- a/codan/org.eclipse.cdt.codan.checkers.ui/src/org/eclipse/cdt/codan/internal/checkers/ui/CheckersUiActivator.java
+++ b/codan/org.eclipse.cdt.codan.checkers.ui/src/org/eclipse/cdt/codan/internal/checkers/ui/CheckersUiActivator.java
@@ -33,26 +33,12 @@ public class CheckersUiActivator extends AbstractUIPlugin {
public CheckersUiActivator() {
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
- * )
- */
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
- * )
- */
@Override
public void stop(BundleContext context) throws Exception {
plugin = null;
diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/checkers/CodanCheckersActivator.java b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/checkers/CodanCheckersActivator.java
index a0b54a69e5..7edab41ec2 100644
--- a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/checkers/CodanCheckersActivator.java
+++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/checkers/CodanCheckersActivator.java
@@ -33,26 +33,12 @@ public class CodanCheckersActivator extends Plugin {
public CodanCheckersActivator() {
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
- * )
- */
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
- * )
- */
@Override
public void stop(BundleContext context) throws Exception {
plugin = null;
diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/SuggestedParenthesisChecker.java b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/SuggestedParenthesisChecker.java
index 26aa99c495..a5393b0920 100644
--- a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/SuggestedParenthesisChecker.java
+++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/SuggestedParenthesisChecker.java
@@ -127,13 +127,6 @@ public class SuggestedParenthesisChecker extends AbstractIndexAstChecker {
return (Boolean) getPreference(getProblemById(ER_ID, getFile()), PARAM_NOT);
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.cdt.codan.core.model.AbstractCheckerWithProblemPreferences
- * #initPreferences(org.eclipse.cdt.codan.core.model.IProblemWorkingCopy)
- */
@Override
public void initPreferences(IProblemWorkingCopy problem) {
super.initPreferences(problem);
diff --git a/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/Activator.java b/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/Activator.java
index 628c989f55..37e45930bd 100644
--- a/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/Activator.java
+++ b/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/Activator.java
@@ -33,24 +33,12 @@ public class Activator extends Plugin {
public Activator() {
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
- */
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
- */
@Override
public void stop(BundleContext context) throws Exception {
plugin = null;
diff --git a/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/internal/model/cfg/CxxBranchNode.java b/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/internal/model/cfg/CxxBranchNode.java
index c4b39fdd54..66834596a9 100644
--- a/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/internal/model/cfg/CxxBranchNode.java
+++ b/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/internal/model/cfg/CxxBranchNode.java
@@ -27,11 +27,6 @@ public class CxxBranchNode extends BranchNode {
this.labelData = label;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.internal.core.cfg.DecisionArc#toString()
- */
@Override
public String toString() {
return labelData.getRawSignature() + ":"; //$NON-NLS-1$
diff --git a/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/internal/model/cfg/CxxStartNode.java b/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/internal/model/cfg/CxxStartNode.java
index aa0f5c27f7..795516c740 100644
--- a/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/internal/model/cfg/CxxStartNode.java
+++ b/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/internal/model/cfg/CxxStartNode.java
@@ -26,11 +26,6 @@ public class CxxStartNode extends StartNode {
super();
}
- /*
- * (non-Javadoc)
- *
- * @see java.lang.Object#toString()
- */
@Override
public String toString() {
return "start"; //$NON-NLS-1$
diff --git a/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/model/AbstractIndexAstChecker.java b/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/model/AbstractIndexAstChecker.java
index df306ec2d3..7cb1f00b92 100644
--- a/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/model/AbstractIndexAstChecker.java
+++ b/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/model/AbstractIndexAstChecker.java
@@ -95,12 +95,6 @@ public abstract class AbstractIndexAstChecker extends AbstractCheckerWithProblem
}
}
- /*
- * (non-Javadoc)
- *
- * @see IRunnableInEditorChecker#processModel(Object,
- * ICheckerInvocationContext)
- */
@Override
public synchronized void processModel(Object model, ICheckerInvocationContext context) {
if (model instanceof IASTTranslationUnit) {
diff --git a/codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/core/cfg/ControlFlowGraphTest.java b/codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/core/cfg/ControlFlowGraphTest.java
index 513055016d..3f8a8d0335 100644
--- a/codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/core/cfg/ControlFlowGraphTest.java
+++ b/codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/core/cfg/ControlFlowGraphTest.java
@@ -355,11 +355,6 @@ public class ControlFlowGraphTest extends CodanFastCxxAstTestCase {
assertEquals("exit(0);", data(exit));
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.test.CodanFastCxxAstTestCase#getChecker()
- */
@Override
public IChecker getChecker() {
return null;
diff --git a/codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/core/tests/CodanCoreTestActivator.java b/codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/core/tests/CodanCoreTestActivator.java
index 021e5a9418..ae5abf5621 100644
--- a/codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/core/tests/CodanCoreTestActivator.java
+++ b/codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/core/tests/CodanCoreTestActivator.java
@@ -31,24 +31,12 @@ public class CodanCoreTestActivator extends Plugin {
public CodanCoreTestActivator() {
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
- */
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
- */
@Override
public void stop(BundleContext context) throws Exception {
plugin = null;
diff --git a/codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/internal/checkers/ui/quickfix/CreateLocalVariableQuickFixTest.java b/codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/internal/checkers/ui/quickfix/CreateLocalVariableQuickFixTest.java
index e26fb6ea34..554a782a96 100644
--- a/codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/internal/checkers/ui/quickfix/CreateLocalVariableQuickFixTest.java
+++ b/codan/org.eclipse.cdt.codan.core.tests/src/org/eclipse/cdt/codan/internal/checkers/ui/quickfix/CreateLocalVariableQuickFixTest.java
@@ -31,11 +31,6 @@ public class CreateLocalVariableQuickFixTest extends QuickFixTestCase {
return true;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.test.CodanTestCase#setUp()
- */
@Override
public void setUp() throws Exception {
super.setUp();
diff --git a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/CodanCorePlugin.java b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/CodanCorePlugin.java
index c2f6ab4942..ccf3ebf3f6 100644
--- a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/CodanCorePlugin.java
+++ b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/CodanCorePlugin.java
@@ -55,12 +55,6 @@ public class CodanCorePlugin extends Plugin {
return InstanceScope.INSTANCE.getNode(PLUGIN_ID);
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
- */
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
@@ -70,12 +64,6 @@ public class CodanCorePlugin extends Plugin {
}
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
- */
@Override
public void stop(BundleContext context) throws Exception {
plugin = null;
diff --git a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/model/AbstractProblemLocation.java b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/model/AbstractProblemLocation.java
index 5085b20f1f..353f522d0d 100644
--- a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/model/AbstractProblemLocation.java
+++ b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/model/AbstractProblemLocation.java
@@ -76,11 +76,6 @@ public abstract class AbstractProblemLocation implements IProblemLocation {
this.extra = data;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.IProblemLocation#getFile()
- */
@Override
public IResource getFile() {
return file;
@@ -109,21 +104,11 @@ public abstract class AbstractProblemLocation implements IProblemLocation {
return line;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.IProblemLocation#getStartPos()
- */
@Override
public int getStartingChar() {
return posStart;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.IProblemLocation#getEndingChar()
- */
@Override
public int getEndingChar() {
return posEnd;
diff --git a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/param/BasicProblemPreference.java b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/param/BasicProblemPreference.java
index ebf1cb87c0..dbd7faff27 100644
--- a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/param/BasicProblemPreference.java
+++ b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/param/BasicProblemPreference.java
@@ -91,13 +91,6 @@ public class BasicProblemPreference extends AbstractProblemPreference {
return x;
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.cdt.codan.core.param.IProblemPreferenceValue#importValue(
- * java.lang.String)
- */
@Override
public void importValue(String str) {
if (str.startsWith("\"")) //$NON-NLS-1$
diff --git a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/param/FileScopeProblemPreference.java b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/param/FileScopeProblemPreference.java
index 066a66d8eb..30769b4e2e 100644
--- a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/param/FileScopeProblemPreference.java
+++ b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/core/param/FileScopeProblemPreference.java
@@ -218,11 +218,6 @@ public class FileScopeProblemPreference extends AbstractProblemPreference {
this.resource = scope.getResource();
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.param.AbstractProblemPreference#clone()
- */
@Override
public Object clone() {
FileScopeProblemPreference scope = (FileScopeProblemPreference) super.clone();
diff --git a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/ConnectorNode.java b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/ConnectorNode.java
index d53c042e52..424a6a54d4 100644
--- a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/ConnectorNode.java
+++ b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/ConnectorNode.java
@@ -34,33 +34,16 @@ public class ConnectorNode extends AbstractSingleOutgoingNode implements IConnec
incoming.add(node);
}
- /*
- * (non-Javadoc)
- *
- * @seeorg.eclipse.cdt.codan.provisional.core.model.cfg.IBasicBlock#
- * getIncomingIterator()
- */
@Override
public IBasicBlock[] getIncomingNodes() {
return incoming.toArray(new IBasicBlock[incoming.size()]);
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.cfg.IBasicBlock#getIncomingSize ()
- */
@Override
public int getIncomingSize() {
return incoming.size();
}
- /*
- * (non-Javadoc)
- *
- * @seeorg.eclipse.cdt.codan.provisional.core.model.cfg.IConnectorNode#
- * hasBackwardIncoming()
- */
@Override
public boolean hasBackwardIncoming() {
for (IBasicBlock node : incoming) {
diff --git a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/ControlFlowGraph.java b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/ControlFlowGraph.java
index ecffbd3ab9..a17b490f5c 100644
--- a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/ControlFlowGraph.java
+++ b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/ControlFlowGraph.java
@@ -62,12 +62,6 @@ public class ControlFlowGraph implements IControlFlowGraph {
this.deadNodes = Collections.unmodifiableList(new ArrayList<>(nodes));
}
- /*
- * (non-Javadoc)
- *
- * @seeorg.eclipse.cdt.codan.provisional.core.model.cfg.IControlFlowGraph#
- * getStartNode()
- */
@Override
public IStartNode getStartNode() {
return start;
@@ -97,33 +91,16 @@ public class ControlFlowGraph implements IControlFlowGraph {
}
}
- /*
- * (non-Javadoc)
- *
- * @seeorg.eclipse.cdt.codan.provisional.core.model.cfg.IControlFlowGraph#
- * getUnconnectedNodeIterator()
- */
@Override
public Iterator<IBasicBlock> getUnconnectedNodeIterator() {
return deadNodes.iterator();
}
- /*
- * (non-Javadoc)
- *
- * @seeorg.eclipse.cdt.codan.provisional.core.model.cfg.IControlFlowGraph#
- * getUnconnectedNodeSize()
- */
@Override
public int getUnconnectedNodeSize() {
return deadNodes.size();
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.cfg.IControlFlowGraph#getNodes ()
- */
@Override
public Collection<IBasicBlock> getNodes() {
Collection<IBasicBlock> result = new LinkedHashSet<>();
diff --git a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/JumpNode.java b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/JumpNode.java
index eefdefd1bf..d72beb68de 100644
--- a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/JumpNode.java
+++ b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/JumpNode.java
@@ -40,11 +40,6 @@ public class JumpNode extends AbstractSingleIncomingNode implements IJumpNode {
return 1;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.cfg.IJumpNode#getJumpNode()
- */
@Override
public IConnectorNode getJumpNode() {
return jump;
diff --git a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/NodeFactory.java b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/NodeFactory.java
index e05abba24d..77575fbb8c 100644
--- a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/NodeFactory.java
+++ b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/NodeFactory.java
@@ -29,63 +29,31 @@ public class NodeFactory implements INodeFactory {
public NodeFactory() {
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.cfg.INodeFactory#createPlainNode ()
- */
@Override
public IPlainNode createPlainNode() {
return new PlainNode();
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.cfg.INodeFactory#createJumpNode ()
- */
@Override
public IJumpNode createJumpNode() {
return new JumpNode();
}
- /*
- * (non-Javadoc)
- *
- * @seeorg.eclipse.cdt.codan.provisional.core.model.cfg.INodeFactory#
- * createDecisionNode()
- */
@Override
public IDecisionNode createDecisionNode() {
return new DecisionNode();
}
- /*
- * (non-Javadoc)
- *
- * @seeorg.eclipse.cdt.codan.provisional.core.model.cfg.INodeFactory#
- * createConnectiorNode()
- */
@Override
public IConnectorNode createConnectorNode() {
return new ConnectorNode();
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.cfg.INodeFactory#createStartNode ()
- */
@Override
public IStartNode createStartNode() {
return new StartNode();
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.cfg.INodeFactory#createExitNode ()
- */
@Override
public IExitNode createExitNode() {
return new ExitNode();
diff --git a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/PlainNode.java b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/PlainNode.java
index 84b6245e57..17f570438b 100644
--- a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/PlainNode.java
+++ b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/cfg/PlainNode.java
@@ -48,13 +48,6 @@ public class PlainNode extends AbstractSingleIncomingNode implements IPlainNode
this.next = exit;
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.cdt.codan.internal.core.cfg.AbstractBasicBlock#addOutgoing
- * (org.eclipse.cdt.codan.core.model.cfg.IBasicBlock)
- */
@Override
public void addOutgoing(IBasicBlock node) {
setOutgoing(node);
diff --git a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblem.java b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblem.java
index f4b9855e99..1f0f684b77 100644
--- a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblem.java
+++ b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblem.java
@@ -94,11 +94,6 @@ public class CodanProblem extends CodanProblemElement implements IProblemWorking
this.enabled = checked;
}
- /*
- * (non-Javadoc)
- *
- * @see java.lang.Object#clone()
- */
@Override
public Object clone() {
CodanProblem prob;
@@ -121,11 +116,6 @@ public class CodanProblem extends CodanProblemElement implements IProblemWorking
return rootPreference;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.IProblem#getMessagePattern()
- */
@Override
public String getMessagePattern() {
return messagePattern;
@@ -141,34 +131,17 @@ public class CodanProblem extends CodanProblemElement implements IProblemWorking
this.messagePattern = messagePattern;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.IProblem#getDescription()
- */
@Override
public String getDescription() {
return description;
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.cdt.codan.core.model.IProblemWorkingCopy#setDescription(java
- * .lang.String)
- */
@Override
public void setDescription(String desc) {
checkSet();
this.description = desc;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.IProblem#getMarkerType()
- */
@Override
public String getMarkerType() {
return markerType;
@@ -184,21 +157,11 @@ public class CodanProblem extends CodanProblemElement implements IProblemWorking
this.markerType = markerType;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.IProblemMultiple#isMultiple()
- */
@Override
public boolean isMultiple() {
return multiple;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.IProblemMultiple#isOriginal()
- */
@Override
public boolean isOriginal() {
return !id.contains(CheckersRegistry.CLONE_SUFFIX);
diff --git a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblemCategory.java b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblemCategory.java
index d6bab54fb2..71b2ec2e7d 100644
--- a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblemCategory.java
+++ b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblemCategory.java
@@ -123,11 +123,6 @@ public class CodanProblemCategory extends CodanProblemElement implements IProble
return null;
}
- /*
- * (non-Javadoc)
- *
- * @see java.lang.Object#clone()
- */
@Override
public Object clone() {
CodanProblemCategory catClone = (CodanProblemCategory) super.clone();
@@ -147,13 +142,6 @@ public class CodanProblemCategory extends CodanProblemElement implements IProble
return catClone;
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.cdt.codan.internal.core.model.CodanProblemElement#setProfile
- * (org.eclipse.cdt.codan.core.model.IProblemProfile)
- */
@Override
public void setProfile(IProblemProfile profile) {
checkSet();
diff --git a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblemElement.java b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblemElement.java
index 2415f672dc..6a19c060c0 100644
--- a/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblemElement.java
+++ b/codan/org.eclipse.cdt.codan.core/src/org/eclipse/cdt/codan/internal/core/model/CodanProblemElement.java
@@ -25,21 +25,11 @@ public class CodanProblemElement implements IProblemElement {
private IProblemCategory parent;
private boolean frozen = false;
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.IProblemElement#getProfile()
- */
@Override
public IProblemProfile getProfile() {
return profile;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.cdt.codan.core.model.IProblemElement#getCategory()
- */
@Override
public IProblemCategory getParentCategory() {
return parent;
diff --git a/codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/Activator.java b/codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/Activator.java
index 70c865c0f3..e61ea896db 100644
--- a/codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/Activator.java
+++ b/codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/Activator.java
@@ -34,12 +34,6 @@ public class Activator extends Plugin {
public Activator() {
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
- */
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
@@ -47,12 +41,6 @@ public class Activator extends Plugin {
GrepCheckerExamplePreferenceChangeListener.getInstance();
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
- */
@Override
public void stop(BundleContext context) throws Exception {
plugin = null;
diff --git a/codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/checkers/GrepChecker.java b/codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/checkers/GrepChecker.java
index 8b7956dad5..5f7c0fa3e9 100644
--- a/codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/checkers/GrepChecker.java
+++ b/codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/checkers/GrepChecker.java
@@ -95,13 +95,6 @@ public class GrepChecker extends AbstractCheckerWithProblemPreferences {
}
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.cdt.codan.core.model.AbstractCheckerWithProblemPreferences
- * #initPreferences(org.eclipse.cdt.codan.core.model.IProblemWorkingCopy)
- */
@Override
public void initPreferences(IProblemWorkingCopy problem) {
super.initPreferences(problem);
diff --git a/codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/checkers/NamingConventionFunctionIIndexChecker.java b/codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/checkers/NamingConventionFunctionIIndexChecker.java
index bb35ea1921..915abe57c4 100644
--- a/codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/checkers/NamingConventionFunctionIIndexChecker.java
+++ b/codan/org.eclipse.cdt.codan.examples/src/org/eclipse/cdt/codan/examples/checkers/NamingConventionFunctionIIndexChecker.java
@@ -36,13 +36,6 @@ public class NamingConventionFunctionIIndexChecker extends AbstractCIndexChecker
public static final String PARAM_KEY = "pattern"; //$NON-NLS-1$
private static final String ER_ID = "org.eclipse.cdt.codan.examples.checkers.NamingConventionFunctionProblem"; //$NON-NLS-1$
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.cdt.codan.core.model.ICIndexChecker#processUnit(org.eclipse
- * .cdt.core.model.ITranslationUnit)
- */
@Override
public void processUnit(ITranslationUnit unit) {
final IProblem pt = getProblemById(ER_ID, getFile());
@@ -68,13 +61,6 @@ public class NamingConventionFunctionIIndexChecker extends AbstractCIndexChecker
}
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.cdt.codan.core.model.ICheckerWithPreferences#initParameters
- * (org.eclipse.cdt.codan.core.model.IProblemWorkingCopy)
- */
@Override
public void initPreferences(IProblemWorkingCopy problem) {
super.initPreferences(problem);
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/src/org/eclipse/cdt/codan/ui/cfgview/ControlFlowGraphPlugin.java b/codan/org.eclipse.cdt.codan.ui.cfgview/src/org/eclipse/cdt/codan/ui/cfgview/ControlFlowGraphPlugin.java
index 0f6b87aaf9..e451bc9ac8 100644
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/src/org/eclipse/cdt/codan/ui/cfgview/ControlFlowGraphPlugin.java
+++ b/codan/org.eclipse.cdt.codan.ui.cfgview/src/org/eclipse/cdt/codan/ui/cfgview/ControlFlowGraphPlugin.java
@@ -34,26 +34,12 @@ public class ControlFlowGraphPlugin extends AbstractUIPlugin {
public ControlFlowGraphPlugin() {
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
- * )
- */
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
- * )
- */
@Override
public void stop(BundleContext context) throws Exception {
plugin = null;
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/CustomizeProblemDialog.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/CustomizeProblemDialog.java
index e3d23c7106..62f224d2c8 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/CustomizeProblemDialog.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/CustomizeProblemDialog.java
@@ -86,13 +86,6 @@ public class CustomizeProblemDialog extends TitleAreaDialog {
comp.save(problem);
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.jface.dialogs.TitleAreaDialog#createDialogArea(org.eclipse
- * .swt.widgets.Composite)
- */
@Override
protected Control createDialogArea(Composite parent) {
getShell().setText(CodanUIMessages.CustomizeProblemDialog_Title);
@@ -122,11 +115,6 @@ public class CustomizeProblemDialog extends TitleAreaDialog {
return b;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.jface.dialogs.Dialog#okPressed()
- */
@Override
protected void okPressed() {
for (int i = 0; i < problems.length; i++) {
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java
index 1ce46dace2..64925da497 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java
@@ -66,11 +66,6 @@ public class BuildPropertyPage extends FieldEditorPreferencePage implements IWor
return result;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.IWorkbenchPropertyPage#getElement()
- */
@Override
public IAdaptable getElement() {
if (element.getAdapter(IProject.class) != null)
@@ -78,11 +73,6 @@ public class BuildPropertyPage extends FieldEditorPreferencePage implements IWor
return null;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.IWorkbenchPropertyPage#setElement(org.eclipse.core.runtime.IAdaptable)
- */
@Override
public void setElement(IAdaptable element) {
this.element = element;
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CheckedTreeEditor.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CheckedTreeEditor.java
index c16281d84b..e8145c1cb8 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CheckedTreeEditor.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CheckedTreeEditor.java
@@ -72,9 +72,6 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
createControl(parent);
}
- /*
- * (non-Javadoc) Method declared on FieldEditor.
- */
@Override
protected void adjustForNumColumns(int numColumns) {
Control control = getLabelControl();
@@ -86,9 +83,6 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
}
}
- /*
- * (non-Javadoc) Method declared on FieldEditor.
- */
@Override
protected void doFillIntoGrid(Composite parent, int numColumns) {
doFillLabelIntoGrid(parent, numColumns);
@@ -116,9 +110,6 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
list.setLayoutData(gd);
}
- /*
- * (non-Javadoc) Method declared on FieldEditor.
- */
@Override
protected void doLoad() {
if (getTreeControl() != null) {
@@ -182,9 +173,6 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
}
}
- /*
- * (non-Javadoc) Method declared on FieldEditor.
- */
@Override
protected void doLoadDefault() {
if (getTreeControl() != null) {
@@ -193,9 +181,6 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
}
}
- /*
- * (non-Javadoc) Method declared on FieldEditor.
- */
@Override
protected void doStore() {
String s = modelToString(getViewer().getInput());
@@ -233,9 +218,6 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
return treeViewer;
}
- /*
- * (non-Javadoc) Method declared on FieldEditor.
- */
@Override
public int getNumberOfControls() {
return 2;
@@ -254,9 +236,6 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
return treeViewer.getControl().getShell();
}
- /*
- * (non-Javadoc) Method declared on FieldEditor.
- */
@Override
public void setFocus() {
if (getTreeControl() != null) {
@@ -302,17 +281,11 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
return listParent;
}
- /*
- * (non-Javadoc) Method declared on FieldEditor.
- */
@Override
public boolean isValid() {
return isValid;
}
- /*
- * (non-Javadoc) Method declared on FieldEditor.
- */
@Override
protected void refreshValidState() {
isValid = checkState();

Back to the top