diff options
author | Sergey Prigogin | 2012-04-28 23:51:23 +0000 |
---|---|---|
committer | Sergey Prigogin | 2012-04-28 23:51:23 +0000 |
commit | 6a0f08849f649aebc819efac33a889591972ca67 (patch) | |
tree | 12df988c73326857d8444749b1dd62a81bd31712 /codan/org.eclipse.cdt.codan.ui.cxx | |
parent | 8b7660f83b255bbbd4f99409c77010244802da96 (diff) | |
download | org.eclipse.cdt-6a0f08849f649aebc819efac33a889591972ca67.tar.gz org.eclipse.cdt-6a0f08849f649aebc819efac33a889591972ca67.tar.xz org.eclipse.cdt-6a0f08849f649aebc819efac33a889591972ca67.zip |
Cosmetics.
Diffstat (limited to 'codan/org.eclipse.cdt.codan.ui.cxx')
3 files changed, 13 insertions, 57 deletions
diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/AbstractCodanCQuickFixProcessor.java b/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/AbstractCodanCQuickFixProcessor.java index 456184ac31e..2880e5e131e 100644 --- a/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/AbstractCodanCQuickFixProcessor.java +++ b/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/AbstractCodanCQuickFixProcessor.java @@ -6,7 +6,7 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Alena Laskavaia - initial API and implementation + * Alena Laskavaia - initial API and implementation *******************************************************************************/ package org.eclipse.cdt.codan.internal.ui.cxx; @@ -25,9 +25,8 @@ import org.eclipse.jface.text.BadLocationException; import org.eclipse.jface.text.IDocument; /** - * Abstract class IQuickFixProcessor - not used right now because it does not - * work - * properly for non hardcoded errors + * Abstract class IQuickFixProcessor - not used right now because it does not work + * properly for non hardcoded errors. * <p> * <strong>EXPERIMENTAL</strong>. This class or interface has been added as part * of a work in progress. There is no guarantee that this API will work or that @@ -35,26 +34,14 @@ import org.eclipse.jface.text.IDocument; * </p> */ public abstract class AbstractCodanCQuickFixProcessor implements IQuickFixProcessor { - /* - * (non-Javadoc) - * - * @see - * org.eclipse.cdt.ui.text.IQuickFixProcessor#hasCorrections(org.eclipse - * .cdt.ui.text.ITranslationUnit, int) - */ + @Override public boolean hasCorrections(ITranslationUnit unit, int problemId) { return problemId == 42; } - /* - * (non-Javadoc) - * - * @see - * org.eclipse.cdt.ui.text.IQuickFixProcessor#getCorrections(org.eclipse - * .cdt.ui.text.IInvocationContext, - * org.eclipse.cdt.ui.text.IProblemLocation[]) - */ - public ICCompletionProposal[] getCorrections(IInvocationContext context, IProblemLocation[] locations) throws CoreException { + @Override + public ICCompletionProposal[] getCorrections(IInvocationContext context, + IProblemLocation[] locations) throws CoreException { if (locations == null || locations.length == 0) return null; IProblemLocation loc = locations[0]; @@ -88,11 +75,6 @@ public abstract class AbstractCodanCQuickFixProcessor implements IQuickFixProces return position; } - /** - * @param context - * @param loc - * @param marker - * @return - */ - public abstract ICCompletionProposal[] getCorrections(IInvocationContext context, String problemId, IMarker marker); + public abstract ICCompletionProposal[] getCorrections(IInvocationContext context, + String problemId, IMarker marker); }
\ No newline at end of file diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/Activator.java b/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/Activator.java index abdd3089953..c0c0030fe59 100644 --- a/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/Activator.java +++ b/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/Activator.java @@ -30,26 +30,12 @@ public class Activator extends AbstractUIPlugin { public Activator() { } - /* - * (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; @@ -68,8 +54,7 @@ public class Activator extends AbstractUIPlugin { /** * Logs the specified status with this plug-in's log. * - * @param status - * status to log + * @param status the status to log */ public static void log(IStatus status) { getDefault().getLog().log(status); @@ -78,8 +63,7 @@ public class Activator extends AbstractUIPlugin { /** * Logs an internal error with the specified throwable * - * @param e - * the exception to be logged + * @param e the exception to be logged */ public static void log(Throwable e) { log(new Status(IStatus.ERROR, PLUGIN_ID, 1, "Internal Error", e)); //$NON-NLS-1$ diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/CodanCReconciler.java b/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/CodanCReconciler.java index 18b491f19ee..998aaac1978 100644 --- a/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/CodanCReconciler.java +++ b/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/CodanCReconciler.java @@ -45,22 +45,12 @@ public class CodanCReconciler implements ICReconcilingListener { // nothing? } - /* - * (non-Javadoc) - * - * @see org.eclipse.cdt.internal.ui.text.ICReconcilingListener#aboutToBeReconciled() - */ + @Override public void aboutToBeReconciled() { // nothing } - /* - * (non-Javadoc) - * - * @see org.eclipse.cdt.internal.ui.text.ICReconcilingListener#reconciled( - * org.eclipse.cdt.core.dom.ast.IASTTranslationUnit, boolean, - * org.eclipse.core.runtime.IProgressMonitor) - */ + @Override public void reconciled(IASTTranslationUnit ast, boolean force, IProgressMonitor progressMonitor) { if (ast == null) return; |