Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2018-11-20 17:14:08 -0500
committerJonah Graham2018-11-22 17:00:29 -0500
commitaa1040a21ab27e9dd0c666e12022ec3dcb569d84 (patch)
treeaaddf487bc15bbc277fd44c00d72fdf229360db1 /codan/org.eclipse.cdt.codan.core
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/org.eclipse.cdt.codan.core')
-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
12 files changed, 0 insertions, 182 deletions
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;

Back to the top