}
}
public void finallyMustCompleteNormally(Block finallyBlock) {
- this.handle(
- IProblem.FinallyMustCompleteNormally,
- NoArgument,
- NoArgument,
- finallyBlock.sourceStart,
- finallyBlock.sourceEnd);
+// Comment by new policy
+// this.handle(
+// IProblem.FinallyMustCompleteNormally,
+// NoArgument,
+// NoArgument,
+// finallyBlock.sourceStart,
+// finallyBlock.sourceEnd);
}
public void forbiddenReference(FieldBinding field, ASTNode location,
String messageTemplate, int problemId) {
// label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_pb_accidential_assignement_label;
// addComboBox(inner, label, PREF_PB_POSSIBLE_ACCIDENTAL_BOOLEAN_ASSIGNMENT, errorWarningIgnore, errorWarningIgnoreLabels, defaultIndent);
- label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_pb_finally_block_not_completing_label;
- addComboBox(inner, label, PREF_PB_FINALLY_BLOCK_NOT_COMPLETING, errorWarningIgnore, errorWarningIgnoreLabels, defaultIndent);
+// label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_pb_finally_block_not_completing_label;
+// addComboBox(inner, label, PREF_PB_FINALLY_BLOCK_NOT_COMPLETING, errorWarningIgnore, errorWarningIgnoreLabels, defaultIndent);
label= PreferencesMessages.ProblemSeveritiesConfigurationBlock_pb_empty_statement_label;
addComboBox(inner, label, PREF_PB_EMPTY_STATEMENT, errorWarningIgnore, errorWarningIgnoreLabels, defaultIndent);