Skip to main content
summaryrefslogtreecommitdiffstats
path: root/codan
diff options
context:
space:
mode:
authorAlena Laskavaia2010-05-26 21:20:43 -0400
committerAlena Laskavaia2010-05-26 21:20:43 -0400
commit670709454b1d6f8fd1fe2a6ad99e1e5b1a2abd71 (patch)
tree6ddcfc5c1d08647b1b1ffc8929be3f9b81c9e24c /codan
parentd2fa899c8365df097bb7a59d01b80b07be390f3d (diff)
downloadorg.eclipse.cdt-670709454b1d6f8fd1fe2a6ad99e1e5b1a2abd71.tar.gz
org.eclipse.cdt-670709454b1d6f8fd1fe2a6ad99e1e5b1a2abd71.tar.xz
org.eclipse.cdt-670709454b1d6f8fd1fe2a6ad99e1e5b1a2abd71.zip
Generalized messages
Diffstat (limited to 'codan')
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CheckersMessages.java4
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/StatementHasNoEffectChecker.java4
-rw-r--r--codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/messages.properties4
3 files changed, 6 insertions, 6 deletions
diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CheckersMessages.java b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CheckersMessages.java
index 6263a60b2f..9e1c4a77ce 100644
--- a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CheckersMessages.java
+++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/CheckersMessages.java
@@ -19,8 +19,8 @@ public class CheckersMessages extends NLS {
private static final String BUNDLE_NAME = "org.eclipse.cdt.codan.internal.checkers.messages"; //$NON-NLS-1$
public static String NamingConventionFunctionChecker_LabelNamePattern;
public static String ReturnChecker_Param0;
- public static String StatementHasNoEffectChecker_ParameterExceptions;
- public static String StatementHasNoEffectChecker_ParameterExceptionsItem;
+ public static String GenericParameter_ParameterExceptions;
+ public static String GenericParameter_ParameterExceptionsItem;
public static String StatementHasNoEffectChecker_ParameterMacro;
public static String SuggestedParenthesisChecker_SuggestParanthesesAroundNot;
static {
diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/StatementHasNoEffectChecker.java b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/StatementHasNoEffectChecker.java
index 49eab8889c..4e6a95ad91 100644
--- a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/StatementHasNoEffectChecker.java
+++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/StatementHasNoEffectChecker.java
@@ -133,8 +133,8 @@ public class StatementHasNoEffectChecker extends AbstractIndexAstChecker {
addListPreference(
problem,
PARAM_EXCEPT_ARG_LIST,
- CheckersMessages.StatementHasNoEffectChecker_ParameterExceptions,
- CheckersMessages.StatementHasNoEffectChecker_ParameterExceptionsItem);
+ CheckersMessages.GenericParameter_ParameterExceptions,
+ CheckersMessages.GenericParameter_ParameterExceptionsItem);
}
/**s
diff --git a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/messages.properties b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/messages.properties
index efc7aedd8a..f6944378a4 100644
--- a/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/messages.properties
+++ b/codan/org.eclipse.cdt.codan.checkers/src/org/eclipse/cdt/codan/internal/checkers/messages.properties
@@ -1,6 +1,6 @@
NamingConventionFunctionChecker_LabelNamePattern=Name Pattern
ReturnChecker_Param0=Also check functions with implicit return value
-StatementHasNoEffectChecker_ParameterExceptions=Exceptions (value of the problem argument)
-StatementHasNoEffectChecker_ParameterExceptionsItem=Value of the argument
+GenericParameter_ParameterExceptions=Exceptions (value of the problem argument)
+GenericParameter_ParameterExceptionsItem=Value of the argument
StatementHasNoEffectChecker_ParameterMacro=Report problem in statements that comes from macro expansion
SuggestedParenthesisChecker_SuggestParanthesesAroundNot=Suggest parentesis around not operator

Back to the top