Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2009-08-13 01:52:27 -0400
committerEike Stepper2009-08-13 01:52:27 -0400
commit7c56a97fc3869b2a18ebe9d057f814e383c146bf (patch)
tree0657b07be419edd80904027b15ddd59eb3b70162 /releng/org.eclipse.emf.cdo.formatchecker
parent013f6fa157e9e1590a49fa7fba9f895133eaa8ff (diff)
downloadcdo-7c56a97fc3869b2a18ebe9d057f814e383c146bf.tar.gz
cdo-7c56a97fc3869b2a18ebe9d057f814e383c146bf.tar.xz
cdo-7c56a97fc3869b2a18ebe9d057f814e383c146bf.zip
[284834] [Releng] Migrate Net4j and CDO builds to Athena/Hudson
https://bugs.eclipse.org/bugs/show_bug.cgi?id=284834
Diffstat (limited to 'releng/org.eclipse.emf.cdo.formatchecker')
-rw-r--r--releng/org.eclipse.emf.cdo.formatchecker/.settings/org.eclipse.jdt.core.prefs270
-rw-r--r--releng/org.eclipse.emf.cdo.formatchecker/.settings/org.eclipse.jdt.ui.prefs118
-rw-r--r--releng/org.eclipse.emf.cdo.formatchecker/src/org/eclipse/emf/cdo/formatchecker/FormatChecker.java144
3 files changed, 514 insertions, 18 deletions
diff --git a/releng/org.eclipse.emf.cdo.formatchecker/.settings/org.eclipse.jdt.core.prefs b/releng/org.eclipse.emf.cdo.formatchecker/.settings/org.eclipse.jdt.core.prefs
index 9596daa307..9904fc1c42 100644
--- a/releng/org.eclipse.emf.cdo.formatchecker/.settings/org.eclipse.jdt.core.prefs
+++ b/releng/org.eclipse.emf.cdo.formatchecker/.settings/org.eclipse.jdt.core.prefs
@@ -1,5 +1,15 @@
-#Tue May 05 10:07:46 CEST 2009
+#Thu Aug 13 06:33:49 CEST 2009
eclipse.preferences.version=1
+org.eclipse.jdt.core.codeComplete.argumentPrefixes=
+org.eclipse.jdt.core.codeComplete.argumentSuffixes=
+org.eclipse.jdt.core.codeComplete.fieldPrefixes=
+org.eclipse.jdt.core.codeComplete.fieldSuffixes=
+org.eclipse.jdt.core.codeComplete.localPrefixes=
+org.eclipse.jdt.core.codeComplete.localSuffixes=
+org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
+org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
+org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
+org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
@@ -10,3 +20,261 @@ org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.blank_lines_before_field=1
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=next_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=next_line
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
+org.eclipse.jdt.core.formatter.comment.format_header=false
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
+org.eclipse.jdt.core.formatter.comment.line_length=120
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
+org.eclipse.jdt.core.formatter.indentation.size=2
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.join_lines_in_comments=true
+org.eclipse.jdt.core.formatter.join_wrapped_lines=true
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.lineSplit=120
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
+org.eclipse.jdt.core.formatter.tabulation.char=space
+org.eclipse.jdt.core.formatter.tabulation.size=2
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
diff --git a/releng/org.eclipse.emf.cdo.formatchecker/.settings/org.eclipse.jdt.ui.prefs b/releng/org.eclipse.emf.cdo.formatchecker/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 0000000000..c5d5d2c0be
--- /dev/null
+++ b/releng/org.eclipse.emf.cdo.formatchecker/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,118 @@
+#Thu Aug 13 06:33:49 CEST 2009
+cleanup.add_default_serial_version_id=true
+cleanup.add_generated_serial_version_id=false
+cleanup.add_missing_annotations=true
+cleanup.add_missing_deprecated_annotations=true
+cleanup.add_missing_methods=false
+cleanup.add_missing_nls_tags=false
+cleanup.add_missing_override_annotations=true
+cleanup.add_serial_version_id=true
+cleanup.always_use_blocks=true
+cleanup.always_use_parentheses_in_expressions=false
+cleanup.always_use_this_for_non_static_field_access=false
+cleanup.always_use_this_for_non_static_method_access=false
+cleanup.convert_to_enhanced_for_loop=false
+cleanup.correct_indentation=true
+cleanup.format_source_code=true
+cleanup.format_source_code_changes_only=false
+cleanup.make_local_variable_final=true
+cleanup.make_parameters_final=false
+cleanup.make_private_fields_final=true
+cleanup.make_type_abstract_if_missing_method=false
+cleanup.make_variable_declarations_final=false
+cleanup.never_use_blocks=false
+cleanup.never_use_parentheses_in_expressions=true
+cleanup.organize_imports=true
+cleanup.qualify_static_field_accesses_with_declaring_class=false
+cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+cleanup.qualify_static_member_accesses_with_declaring_class=false
+cleanup.qualify_static_method_accesses_with_declaring_class=false
+cleanup.remove_private_constructors=true
+cleanup.remove_trailing_whitespaces=true
+cleanup.remove_trailing_whitespaces_all=true
+cleanup.remove_trailing_whitespaces_ignore_empty=false
+cleanup.remove_unnecessary_casts=true
+cleanup.remove_unnecessary_nls_tags=true
+cleanup.remove_unused_imports=true
+cleanup.remove_unused_local_variables=false
+cleanup.remove_unused_private_fields=true
+cleanup.remove_unused_private_members=false
+cleanup.remove_unused_private_methods=true
+cleanup.remove_unused_private_types=true
+cleanup.sort_members=false
+cleanup.sort_members_all=false
+cleanup.use_blocks=true
+cleanup.use_blocks_only_for_return_and_throw=false
+cleanup.use_parentheses_in_expressions=true
+cleanup.use_this_for_non_static_field_access=true
+cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+cleanup.use_this_for_non_static_method_access=true
+cleanup.use_this_for_non_static_method_access_only_if_necessary=true
+cleanup_profile=_EMFT
+cleanup_settings_version=2
+eclipse.preferences.version=1
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
+formatter_profile=_EMFT
+formatter_settings_version=11
+org.eclipse.jdt.ui.exception.name=ex
+org.eclipse.jdt.ui.gettersetter.use.is=true
+org.eclipse.jdt.ui.ignorelowercasenames=true
+org.eclipse.jdt.ui.importorder=org.eclipse.emf.cdo;org.eclipse.emf.internal.cdo;org.eclipse.net4j;org.eclipse.internal.net4j;org.eclipse.emf;org.eclipse;com;org;javax;java;
+org.eclipse.jdt.ui.javadoc=false
+org.eclipse.jdt.ui.keywordthis=false
+org.eclipse.jdt.ui.ondemandthreshold=99
+org.eclipse.jdt.ui.overrideannotation=true
+org.eclipse.jdt.ui.staticondemandthreshold=99
+org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="false" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment"/><template autoinsert\="false" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment"/><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment"/><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\r\n * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http\://www.eclipse.org/legal/epl-v10.html\r\n * \r\n * Contributors\:\r\n * Eike Stepper - initial API and implementation\r\n */</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author Eike Stepper\r\n */</template><template autoinsert\="false" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment"/><template autoinsert\="false" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment"/><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"/><template autoinsert\="false" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment"/><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">${exception_var}.printStackTrace();</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">${body_statement}</template><template autoinsert\="false" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.php.ui.editor.templates.php.codetemplates.newtype" name\="newtype">${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="false" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.php.ui.editor.templates.php.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="false" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.php.ui.editor.templates.php.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.php.ui.editor.templates.php.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.php.ui.editor.templates.php.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\r\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.php.ui.editor.templates.php.codetemplates.constructorbody" name\="constructorbody">${body_statement}\r\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * @return the ${bare_field_name}\r\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\r\n * @param ${param} the ${bare_field_name} to set\r\n */</template><template autoinsert\="true" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="filecomment_context" deleted\="false" description\="Comment for created JavaScript files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.filecomment" name\="filecomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author ${user}\r\n *\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for vars" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding function" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-JSDoc)\r\n * ${see_to_overridden}\r\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate functions" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\r\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created function stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated function stub\r\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\r\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.wst.jsdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
+sp_cleanup.add_default_serial_version_id=true
+sp_cleanup.add_generated_serial_version_id=false
+sp_cleanup.add_missing_annotations=true
+sp_cleanup.add_missing_deprecated_annotations=true
+sp_cleanup.add_missing_methods=false
+sp_cleanup.add_missing_nls_tags=false
+sp_cleanup.add_missing_override_annotations=true
+sp_cleanup.add_serial_version_id=false
+sp_cleanup.always_use_blocks=true
+sp_cleanup.always_use_parentheses_in_expressions=false
+sp_cleanup.always_use_this_for_non_static_field_access=false
+sp_cleanup.always_use_this_for_non_static_method_access=false
+sp_cleanup.convert_to_enhanced_for_loop=false
+sp_cleanup.correct_indentation=true
+sp_cleanup.format_source_code=true
+sp_cleanup.format_source_code_changes_only=false
+sp_cleanup.make_local_variable_final=false
+sp_cleanup.make_parameters_final=false
+sp_cleanup.make_private_fields_final=true
+sp_cleanup.make_type_abstract_if_missing_method=false
+sp_cleanup.make_variable_declarations_final=false
+sp_cleanup.never_use_blocks=false
+sp_cleanup.never_use_parentheses_in_expressions=true
+sp_cleanup.on_save_use_additional_actions=true
+sp_cleanup.organize_imports=true
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
+sp_cleanup.remove_private_constructors=true
+sp_cleanup.remove_trailing_whitespaces=true
+sp_cleanup.remove_trailing_whitespaces_all=true
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
+sp_cleanup.remove_unnecessary_casts=true
+sp_cleanup.remove_unnecessary_nls_tags=true
+sp_cleanup.remove_unused_imports=true
+sp_cleanup.remove_unused_local_variables=false
+sp_cleanup.remove_unused_private_fields=true
+sp_cleanup.remove_unused_private_members=false
+sp_cleanup.remove_unused_private_methods=true
+sp_cleanup.remove_unused_private_types=true
+sp_cleanup.sort_members=false
+sp_cleanup.sort_members_all=false
+sp_cleanup.use_blocks=true
+sp_cleanup.use_blocks_only_for_return_and_throw=false
+sp_cleanup.use_parentheses_in_expressions=true
+sp_cleanup.use_this_for_non_static_field_access=true
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+sp_cleanup.use_this_for_non_static_method_access=true
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/releng/org.eclipse.emf.cdo.formatchecker/src/org/eclipse/emf/cdo/formatchecker/FormatChecker.java b/releng/org.eclipse.emf.cdo.formatchecker/src/org/eclipse/emf/cdo/formatchecker/FormatChecker.java
index 03d71a4e19..9cea3ec50a 100644
--- a/releng/org.eclipse.emf.cdo.formatchecker/src/org/eclipse/emf/cdo/formatchecker/FormatChecker.java
+++ b/releng/org.eclipse.emf.cdo.formatchecker/src/org/eclipse/emf/cdo/formatchecker/FormatChecker.java
@@ -29,6 +29,8 @@ import java.util.Map.Entry;
*/
public class FormatChecker
{
+ private static final String COPYRIGHT = "Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.";
+
private static Map<String, List<Integer>> complaints = new HashMap<String, List<Integer>>();
public static void main(String[] args) throws IOException
@@ -36,31 +38,35 @@ public class FormatChecker
File folder = new File(args.length == 0 ? "/develop/ws/cdo" : args[0]);
recurse(folder);
+ ignore("com.swtdesigner.ResourceManager", 2);
+ ignore("com.swtdesigner.SWTResourceManager", 2);
+
ignore("base.BaseClass", 1);
ignore("base.BaseFactory", 1);
ignore("base.BasePackage", 2);
ignore("base.impl.BaseClassImpl", 1);
ignore("base.impl.BaseFactoryImpl", 2);
- ignore("base.impl.BasePackageImpl", 3);
+ ignore("base.impl.BasePackageImpl", 1);
ignore("base.util.BaseAdapterFactory", 3);
- ignore("base.util.BaseSwitch", 3);
- ignore("com.swtdesigner.ResourceManager", 48);
- ignore("com.swtdesigner.SWTResourceManager", 40);
+ ignore("base.util.BaseSwitch", 2);
+
ignore("derived.DerivedClass", 1);
ignore("derived.DerivedFactory", 1);
ignore("derived.DerivedPackage", 2);
ignore("derived.impl.DerivedClassImpl", 1);
+ ignore("derived.impl.DerivedPackageImpl", 1);
ignore("derived.impl.DerivedFactoryImpl", 2);
- ignore("derived.impl.DerivedPackageImpl", 3);
+ ignore("derived.util.DerivedSwitch", 2);
ignore("derived.util.DerivedAdapterFactory", 3);
- ignore("derived.util.DerivedSwitch", 4);
+
ignore("interface_.IInterface", 1);
ignore("interface_.InterfaceFactory", 1);
ignore("interface_.InterfacePackage", 2);
+ ignore("interface_.impl.InterfacePackageImpl", 1);
ignore("interface_.impl.InterfaceFactoryImpl", 2);
- ignore("interface_.impl.InterfacePackageImpl", 3);
ignore("interface_.util.InterfaceAdapterFactory", 3);
- ignore("interface_.util.InterfaceSwitch", 3);
+ ignore("interface_.util.InterfaceSwitch", 2);
+
ignore("org.eclipse.emf.cdo.defs.CDOAuditDef", 1);
ignore("org.eclipse.emf.cdo.defs.CDODefsFactory", 1);
ignore("org.eclipse.emf.cdo.defs.CDODefsPackage", 2);
@@ -74,23 +80,46 @@ public class FormatChecker
ignore("org.eclipse.emf.cdo.defs.FailOverStrategyDef", 1);
ignore("org.eclipse.emf.cdo.defs.ResourceMode", 4);
ignore("org.eclipse.emf.cdo.defs.RetryFailOverStrategyDef", 1);
+ ignore("org.eclipse.emf.cdo.defs.impl.CDODefsPackageImpl", 2);
+ ignore("org.eclipse.emf.cdo.defs.impl.CDOSessionDefImpl", 13);
ignore("org.eclipse.emf.cdo.defs.impl.CDOAuditDefImpl", 5);
- ignore("org.eclipse.emf.cdo.defs.impl.CDOClientProtocolFactoryDefImpl", 1);
ignore("org.eclipse.emf.cdo.defs.impl.CDODefsFactoryImpl", 2);
- ignore("org.eclipse.emf.cdo.defs.impl.CDODefsPackageImpl", 1);
ignore("org.eclipse.emf.cdo.defs.impl.CDOEagerPackageRegistryDefImpl", 1);
ignore("org.eclipse.emf.cdo.defs.impl.CDOPackageRegistryDefImpl", 9);
ignore("org.eclipse.emf.cdo.defs.impl.CDOResourceDefImpl", 8);
- ignore("org.eclipse.emf.cdo.defs.impl.CDOSessionDefImpl", 10);
ignore("org.eclipse.emf.cdo.defs.impl.CDOTransactionDefImpl", 2);
ignore("org.eclipse.emf.cdo.defs.impl.CDOViewDefImpl", 6);
ignore("org.eclipse.emf.cdo.defs.impl.EDynamicPackageDefImpl", 5);
ignore("org.eclipse.emf.cdo.defs.impl.EPackageDefImpl", 5);
ignore("org.eclipse.emf.cdo.defs.impl.FailOverStrategyDefImpl", 6);
ignore("org.eclipse.emf.cdo.defs.impl.RetryFailOverStrategyDefImpl", 5);
- ignore("org.eclipse.emf.cdo.defs.util.CDODefsAdapterFactory", 3);
+ ignore("org.eclipse.emf.cdo.defs.util.CDODefsAdapterFactory", 20);
ignore("org.eclipse.emf.cdo.defs.util.CDODefsSwitch", 2);
ignore("org.eclipse.emf.cdo.defs.util.CDODefsUtil", 3);
+
+ ignore("org.eclipse.emf.cdo.ecore.impl.CDOSuperAdapter", 1);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EAnnotationImpl", 5);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EAttributeImpl", 6);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EClassImpl", 28);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EClassifierImpl", 13);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EDataTypeImpl", 7);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EEnumImpl", 10);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EEnumLiteralImpl", 2);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EFactoryImpl", 18);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EGenericTypeImpl", 9);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EModelElementImpl", 11);
+ ignore("org.eclipse.emf.cdo.ecore.impl.ENamedElementImpl", 5);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EOperationImpl", 6);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EPackageImpl", 14);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EParameterImpl", 4);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EReferenceImpl", 6);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EStringToStringMapEntryImpl", 5);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EStructuralFeatureImpl", 25);
+ ignore("org.eclipse.emf.cdo.ecore.impl.ETypeParameterImpl", 4);
+ ignore("org.eclipse.emf.cdo.ecore.impl.ETypedElementImpl", 4);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EcoreFactoryImpl", 9);
+ ignore("org.eclipse.emf.cdo.ecore.impl.EcorePackageImpl", 3);
+
ignore("org.eclipse.emf.cdo.examples.company.Address", 1);
ignore("org.eclipse.emf.cdo.examples.company.Category", 1);
ignore("org.eclipse.emf.cdo.examples.company.Company", 1);
@@ -133,6 +162,7 @@ public class FormatChecker
ignore("org.eclipse.emf.cdo.examples.company.provider.SupplierItemProvider", 3);
ignore("org.eclipse.emf.cdo.examples.company.util.CompanyAdapterFactory", 3);
ignore("org.eclipse.emf.cdo.examples.company.util.CompanySwitch", 21);
+
ignore("org.eclipse.emf.cdo.emodel.CDOAnnotation", 1);
ignore("org.eclipse.emf.cdo.emodel.CDOModelElement", 1);
ignore("org.eclipse.emf.cdo.emodel.CDONamedElement", 1);
@@ -151,29 +181,89 @@ public class FormatChecker
ignore("org.eclipse.emf.cdo.emodel.util.EmodelAdapterFactory", 3);
ignore("org.eclipse.emf.cdo.emodel.util.EmodelSwitch", 2);
ignore("org.eclipse.emf.cdo.emodel.util.EmodelValidator", 2);
+
ignore("org.eclipse.emf.cdo.eresource.CDOResource", 1);
ignore("org.eclipse.emf.cdo.eresource.CDOResourceFolder", 1);
ignore("org.eclipse.emf.cdo.eresource.CDOResourceNode", 1);
ignore("org.eclipse.emf.cdo.eresource.EresourceFactory", 1);
ignore("org.eclipse.emf.cdo.eresource.EresourcePackage", 2);
ignore("org.eclipse.emf.cdo.eresource.impl.EresourceFactoryImpl", 2);
- ignore("org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl", 3);
+ ignore("org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl", 1);
ignore("org.eclipse.emf.cdo.eresource.provider.CDOResourceFolderItemProvider", 5);
ignore("org.eclipse.emf.cdo.eresource.provider.CDOResourceItemProvider", 4);
ignore("org.eclipse.emf.cdo.eresource.provider.CDOResourceNodeItemProvider", 3);
ignore("org.eclipse.emf.cdo.eresource.provider.EresourceEditPlugin", 1);
- ignore("org.eclipse.emf.cdo.eresource.provider.EresourceItemProviderAdapterFactory", 2);
+ ignore("org.eclipse.emf.cdo.eresource.provider.EresourceItemProviderAdapterFactory", 1);
ignore("org.eclipse.emf.cdo.eresource.util.EresourceAdapterFactory", 3);
- ignore("org.eclipse.emf.cdo.eresource.util.EresourceSwitch", 7);
+ ignore("org.eclipse.emf.cdo.eresource.util.EresourceSwitch", 2);
+
ignore("org.eclipse.emf.cdo.internal.ui.editor.CDOActionBarContributor", 5);
ignore("org.eclipse.emf.cdo.internal.ui.editor.CDOEditor", 11);
ignore("org.eclipse.emf.cdo.internal.ui.editor.PluginDelegator", 1);
+
+ ignore("org.eclipse.emf.cdo.server.file.FileStore", 1);
+ ignore("org.eclipse.emf.cdo.server.file.FileStoreAccessor", 1);
+
+ ignore("org.eclipse.emf.cdo.server.hibernate.IHibernateMappingProvider", 1);
+ ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.CDOBasicMapper", 1);
+ ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.CDOEFeatureAnnotator", 1);
+ ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.CDOEntityMapper", 1);
+ ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.CDOManyAttributeMapper", 1);
+ ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.CDOMappingContext", 1);
+ ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.TeneoHibernateMappingProvider", 1);
+ ignore("org.eclipse.emf.cdo.server.hibernate.internal.teneo.TeneoHibernateMappingProviderFactory", 1);
+ ignore("org.eclipse.emf.cdo.server.hibernate.teneo.CDOHelper", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AbstractFeatureMapTableMapping", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.db.mapping.horizontal.AbstractListTableMapping", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.CDOHibernateConstants", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.ContainerInfoConverter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.FileHibernateMappingProvider", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.FileHibernateMappingProviderFactory", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.HibernateCDOPackageUnitDTO", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.HibernateCommitContext", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.HibernateMappingProvider", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.HibernateQueryHandler", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.HibernateThreadContext", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.HibernateUtil", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.SystemInformation", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOContainerGetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOContainerSetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOENumIntegerType", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOENumStringType", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDAnyUserType", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDExternalUserType", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDMetaRangeUserType", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDPropertyGetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDPropertySetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDUserType", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOInterceptor", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOManyAttributeGetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOManyAttributeSetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOManyReferenceGetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOManyReferenceSetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOPropertyGetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOPropertyHandler", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOPropertySetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOReferenceGetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOReferenceSetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOResourceIDGetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOResourceIDSetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOSyntheticIdPropertyHandler", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOSyntheticVersionPropertyHandler", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOTypeUserType", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOVersionPropertyGetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOVersionPropertySetter", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.HibernateMoveableListWrapper", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.PersistableListHolder", 1);
+ ignore("org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.WrappedHibernateList", 1);
+
ignore("org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesFactoryImpl", 2);
ignore("org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl", 3);
ignore("org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesFactory", 1);
ignore("org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage", 2);
ignore("org.eclipse.emf.cdo.tests.legacy.model4interfaces.util.model4interfacesAdapterFactory", 3);
ignore("org.eclipse.emf.cdo.tests.legacy.model4interfaces.util.model4interfacesSwitch", 16);
+
ignore("org.eclipse.emf.cdo.tests.mango.MangoFactory", 1);
ignore("org.eclipse.emf.cdo.tests.mango.MangoPackage", 2);
ignore("org.eclipse.emf.cdo.tests.mango.Parameter", 1);
@@ -192,6 +282,7 @@ public class FormatChecker
ignore("org.eclipse.emf.cdo.tests.mango.provider.ValueListItemProvider", 3);
ignore("org.eclipse.emf.cdo.tests.mango.util.MangoAdapterFactory", 3);
ignore("org.eclipse.emf.cdo.tests.mango.util.MangoSwitch", 2);
+
ignore("org.eclipse.emf.cdo.tests.model1.Address", 1);
ignore("org.eclipse.emf.cdo.tests.model1.Category", 1);
ignore("org.eclipse.emf.cdo.tests.model1.Company", 1);
@@ -206,6 +297,7 @@ public class FormatChecker
ignore("org.eclipse.emf.cdo.tests.model1.SalesOrder", 1);
ignore("org.eclipse.emf.cdo.tests.model1.Supplier", 1);
ignore("org.eclipse.emf.cdo.tests.model1.VAT", 4);
+
ignore("org.eclipse.emf.cdo.tests.model1.diagram.edit.commands.CategoryCreateCommand", 3);
ignore("org.eclipse.emf.cdo.tests.model1.diagram.edit.commands.CategoryProducts2CreateCommand", 7);
ignore("org.eclipse.emf.cdo.tests.model1.diagram.edit.commands.CategoryProducts2ReorientCommand", 9);
@@ -349,6 +441,7 @@ public class FormatChecker
ignore("org.eclipse.emf.cdo.tests.model1.diagram.view.factories.SalesOrderViewFactory", 4);
ignore("org.eclipse.emf.cdo.tests.model1.diagram.view.factories.SupplierNameViewFactory", 1);
ignore("org.eclipse.emf.cdo.tests.model1.diagram.view.factories.SupplierViewFactory", 4);
+
ignore("org.eclipse.emf.cdo.tests.model1.impl.AddressImpl", 1);
ignore("org.eclipse.emf.cdo.tests.model1.impl.CategoryImpl", 1);
ignore("org.eclipse.emf.cdo.tests.model1.impl.CompanyImpl", 1);
@@ -756,7 +849,6 @@ public class FormatChecker
private static void processJava(File file) throws IOException
{
- // System.out.println(file.getAbsolutePath());
String name = file.getName();
name = name.substring(0, name.length() - ".java".length());
@@ -765,6 +857,7 @@ public class FormatChecker
try
{
+ int copyrightLine = -1;
String packageName = null;
String last = "";
String line;
@@ -774,6 +867,18 @@ public class FormatChecker
++i;
if (packageName == null)
{
+ if (copyrightLine == -1 && line.startsWith("/**"))
+ {
+ copyrightLine = 0;
+ continue;
+ }
+
+ if (copyrightLine == 0 && line.startsWith(" * " + COPYRIGHT))
+ {
+ copyrightLine = i;
+ continue;
+ }
+
if (line.startsWith("package "))
{
packageName = line.substring("package ".length()); // Remove prefix "package "
@@ -801,7 +906,7 @@ public class FormatChecker
}
else if (last.equals("empty"))
{
- if (type.equals("empty")||type.equals("}"))
+ if (type.equals("empty") || type.equals("}"))
{
complain(name, i);
}
@@ -809,6 +914,11 @@ public class FormatChecker
last = type;
}
+
+ if (copyrightLine <= 0)
+ {
+ complain(name, 1);
+ }
}
finally
{

Back to the top