Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Ruiz2012-02-21 18:18:56 -0500
committerSergey Prigogin2012-02-23 16:26:24 -0500
commitd7f5c2bd7cad5b922d205a1f3f832d7d07576d92 (patch)
treea03f06acddde62a7e64dfd7265658bfee1e36c8d /codan/org.eclipse.cdt.codan.checkers
parent00c29ec7eb32e3120d1023bfc3252d2f80fd7f01 (diff)
downloadorg.eclipse.cdt-d7f5c2bd7cad5b922d205a1f3f832d7d07576d92.tar.gz
org.eclipse.cdt-d7f5c2bd7cad5b922d205a1f3f832d7d07576d92.tar.xz
org.eclipse.cdt-d7f5c2bd7cad5b922d205a1f3f832d7d07576d92.zip
Minor code cleanup.
Diffstat (limited to 'codan/org.eclipse.cdt.codan.checkers')
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/externaltool/CppcheckOutputParser.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/externaltool/CppcheckOutputParser.java b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/externaltool/CppcheckOutputParser.java
index 81a237d65a..53295324f1 100644
--- a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/externaltool/CppcheckOutputParser.java
+++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/externaltool/CppcheckOutputParser.java
@@ -29,7 +29,7 @@ import org.eclipse.core.resources.IFile;
* @since 1.1
*/
public class CppcheckOutputParser extends AbstractOutputParser {
- // the pattern for parsing the message is:
+ // sample line to parse:
//
// [/src/HelloWorld.cpp:19]: (style) The scope of the variable 'i' can be reduced
// ----------1--------- -2 --3-- ------------------4-------------------------
@@ -39,7 +39,6 @@ public class CppcheckOutputParser extends AbstractOutputParser {
// 2: line where problem was found
// 3: problem severity
// 4: problem description
-
private static Pattern pattern = Pattern.compile("\\[(.*):(\\d+)\\]:\\s*\\((.*)\\)\\s*(.*)"); //$NON-NLS-1$
private final InvocationParameters parameters;

Back to the top