summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Ruiz2012-02-23 16:18:19 (EST)
committer Sergey Prigogin2012-02-23 16:18:19 (EST)
commita3758a0664ce8bf01807c70a0bc6f043542f1c5b (patch)
treedd854244725eb127d4228ef7ec6c55306551251f
parentb25c644007819f436d503d7e329f81533ecdd7d6 (diff)
downloadorg.eclipse.cdt-a3758a0664ce8bf01807c70a0bc6f043542f1c5b.zip
org.eclipse.cdt-a3758a0664ce8bf01807c70a0bc6f043542f1c5b.tar.gz
org.eclipse.cdt-a3758a0664ce8bf01807c70a0bc6f043542f1c5b.tar.bz2
Minor code cleanup.
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CppcheckChecker.java2
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/externaltool/CxxSupportedResourceVerifier.java (renamed from codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/CxxSupportedResourceVerifier.java)6
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/AbstractCxxExternalToolBasedChecker.java1
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/util/CEditors.java (renamed from codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/CEditors.java)2
4 files changed, 6 insertions, 5 deletions
diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CppcheckChecker.java b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CppcheckChecker.java
index 58359f9..68eb51f 100644
--- a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CppcheckChecker.java
+++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CppcheckChecker.java
@@ -24,7 +24,7 @@ import org.eclipse.cdt.codan.core.model.IProblemLocation;
import org.eclipse.cdt.codan.ui.cxx.externaltool.AbstractCxxExternalToolBasedChecker;
/**
- * Checker that invokes <a href="http://cppcheck.sourceforge.net/">Cppcheck</a> when a C/C++ is
+ * Checker that invokes <a href="http://cppcheck.sourceforge.net/">Cppcheck</a> when a C/C++ file is
* saved.
*
* @author alruiz@google.com (Alex Ruiz)
diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/CxxSupportedResourceVerifier.java b/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/externaltool/CxxSupportedResourceVerifier.java
index d5a3c4b..02f5645 100644
--- a/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/CxxSupportedResourceVerifier.java
+++ b/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/internal/ui/cxx/externaltool/CxxSupportedResourceVerifier.java
@@ -8,12 +8,12 @@
* Contributors:
* Alex Ruiz - initial API and implementation
*******************************************************************************/
-package org.eclipse.cdt.codan.ui.cxx.externaltool;
+package org.eclipse.cdt.codan.internal.ui.cxx.externaltool;
import static org.eclipse.cdt.codan.core.cxx.util.FileTypes.isCppFile;
import static org.eclipse.cdt.codan.core.cxx.util.FileTypes.isHeaderFile;
import static org.eclipse.cdt.codan.ui.CodanEditorUtility.isResourceOpenInEditor;
-import static org.eclipse.cdt.codan.ui.cxx.externaltool.CEditors.activeCEditor;
+import static org.eclipse.cdt.codan.ui.cxx.util.CEditors.activeCEditor;
import org.eclipse.cdt.codan.core.externaltool.ISupportedResourceVerifier;
import org.eclipse.core.resources.IResource;
@@ -24,7 +24,7 @@ import org.eclipse.ui.editors.text.TextEditor;
*
* @author alruiz@google.com (Alex Ruiz)
*/
-class CxxSupportedResourceVerifier implements ISupportedResourceVerifier {
+public class CxxSupportedResourceVerifier implements ISupportedResourceVerifier {
/**
* Indicates whether the external tool is capable of processing the given
* <code>{@link IResource}</code>.
diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/AbstractCxxExternalToolBasedChecker.java b/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/AbstractCxxExternalToolBasedChecker.java
index 199267b..39a440e 100644
--- a/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/AbstractCxxExternalToolBasedChecker.java
+++ b/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/AbstractCxxExternalToolBasedChecker.java
@@ -17,6 +17,7 @@ import org.eclipse.cdt.codan.core.externaltool.ISupportedResourceVerifier;
import org.eclipse.cdt.codan.core.externaltool.InvocationParametersProvider;
import org.eclipse.cdt.codan.core.externaltool.SpaceDelimitedArgsSeparator;
import org.eclipse.cdt.codan.core.model.AbstractExternalToolBasedChecker;
+import org.eclipse.cdt.codan.internal.ui.cxx.externaltool.CxxSupportedResourceVerifier;
import org.eclipse.cdt.codan.ui.externaltool.CommandLauncher;
/**
diff --git a/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/CEditors.java b/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/util/CEditors.java
index 1ab541c..39c4a21 100644
--- a/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/externaltool/CEditors.java
+++ b/codan/org.eclipse.cdt.codan.ui.cxx/src/org/eclipse/cdt/codan/ui/cxx/util/CEditors.java
@@ -8,7 +8,7 @@
* Contributors:
* Alex Ruiz - initial API and implementation
*******************************************************************************/
-package org.eclipse.cdt.codan.ui.cxx.externaltool;
+package org.eclipse.cdt.codan.ui.cxx.util;
import org.eclipse.cdt.internal.ui.editor.CEditor;
import org.eclipse.ui.IEditorPart;