This commit configures Checkstyle and updates the build to comply with that configuration. The Eclipse JDT metadata has also been updated so that the output of Eclipse’s code formatting and clean-up is compliant with Checkstyle. The use of the latest version (6.10.1) of Checkstyle has required an upgrade to Gradle 2.7. Gradle hardcode’s the name of the Checkstyle’s main class which has changed between version 5 (Gradle’s default) and version 6. Closes gh-119
63 lines
2.7 KiB
INI
63 lines
2.7 KiB
INI
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_missing_override_annotations_interface_methods=true
|
|
cleanup.add_serial_version_id=false
|
|
cleanup.always_use_blocks=true
|
|
cleanup.always_use_parentheses_in_expressions=false
|
|
cleanup.always_use_this_for_non_static_field_access=true
|
|
cleanup.always_use_this_for_non_static_method_access=false
|
|
cleanup.convert_functional_interfaces=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.insert_inferred_type_arguments=false
|
|
cleanup.make_local_variable_final=false
|
|
cleanup.make_parameters_final=false
|
|
cleanup.make_private_fields_final=false
|
|
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=true
|
|
cleanup.qualify_static_method_accesses_with_declaring_class=false
|
|
cleanup.remove_private_constructors=true
|
|
cleanup.remove_redundant_type_arguments=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=false
|
|
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_anonymous_class_creation=false
|
|
cleanup.use_blocks=true
|
|
cleanup.use_blocks_only_for_return_and_throw=false
|
|
cleanup.use_lambda=true
|
|
cleanup.use_parentheses_in_expressions=false
|
|
cleanup.use_this_for_non_static_field_access=true
|
|
cleanup.use_this_for_non_static_field_access_only_if_necessary=false
|
|
cleanup.use_this_for_non_static_method_access=false
|
|
cleanup.use_this_for_non_static_method_access_only_if_necessary=true
|
|
cleanup.use_type_arguments=false
|
|
cleanup_profile=_Spring Rest Docs Cleanup Conventions
|
|
cleanup_settings_version=2
|
|
eclipse.preferences.version=1
|
|
formatter_profile=_Spring Rest Docs Java Conventions
|
|
formatter_settings_version=12
|