Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-05-18 22:41:33 -0400
committerSergey Prigogin2011-05-18 22:41:33 -0400
commit5e0dd6ee103cbdd48f051d20d828781787700baa (patch)
treece9c57ee2b270c87f589c2fb4587ed2599bd1b29
parent51401d68f69e7d9d68587511d7db7ca8ebd1a125 (diff)
downloadorg.eclipse.cdt-5e0dd6ee103cbdd48f051d20d828781787700baa.tar.gz
org.eclipse.cdt-5e0dd6ee103cbdd48f051d20d828781787700baa.tar.xz
org.eclipse.cdt-5e0dd6ee103cbdd48f051d20d828781787700baa.zip
Restricted visibility of methods.
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/SuspiciousSemicolonChecker.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/SuspiciousSemicolonChecker.java b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/SuspiciousSemicolonChecker.java
index e194ab1dc9..d865df1202 100644
--- a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/SuspiciousSemicolonChecker.java
+++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/SuspiciousSemicolonChecker.java
@@ -54,17 +54,17 @@ public class SuspiciousSemicolonChecker extends AbstractIndexAstChecker {
});
}
- protected boolean doNotReportIfElse() {
+ private boolean doNotReportIfElse() {
final IProblem pt = getProblemById(ER_ID, getFile());
return (Boolean) getPreference(pt, PARAM_ELSE);
}
- protected boolean doReportAfterElse() {
+ private boolean doReportAfterElse() {
final IProblem pt = getProblemById(ER_ID, getFile());
return (Boolean) getPreference(pt, PARAM_ALFTER_ELSE);
}
- protected boolean macroInvolved(IASTStatement node) {
+ private static boolean macroInvolved(IASTStatement node) {
if (includesMacroExpansion(node)) {
return true;
}

Back to the top