Changeset 8510 in josm for trunk/.settings


Ignore:
Timestamp:
2015-06-20T23:42:21+02:00 (4 years ago)
Author:
Don-vip
Message:

checkstyle: enable relevant whitespace checks and fix them

Location:
trunk/.settings
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/.settings/org.eclipse.jdt.core.prefs

    r7980 r8510  
    115115org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
    116116org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
     117org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
    117118org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
    118119org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
     
    125126org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
    126127org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
     128org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
    127129org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
    128130org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
    129131org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
     132org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
    130133org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
    131134org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
     
    134137org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
    135138org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
     139org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
    136140org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
    137141org.eclipse.jdt.core.formatter.blank_lines_after_package=1
     
    153157org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
    154158org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
     159org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line
    155160org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
    156161org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
     
    171176org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert
    172177org.eclipse.jdt.core.formatter.comment.line_length=100
     178org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
     179org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
     180org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
    173181org.eclipse.jdt.core.formatter.compact_else_if=true
    174182org.eclipse.jdt.core.formatter.continuation_indentation=2
    175183org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
     184org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
     185org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
    176186org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
     187org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
    177188org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
    178189org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
     
    192203org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
    193204org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
     205org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
    194206org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
     207org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert
    195208org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
    196209org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
     
    240253org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
    241254org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
     255org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert
    242256org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
    243257org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
     
    258272org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
    259273org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
     274org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
    260275org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
    261276org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
     
    264279org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
    265280org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
     281org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
    266282org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
    267283org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
     
    287303org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
    288304org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
     305org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
    289306org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
    290307org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
     
    314331org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
    315332org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
     333org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert
    316334org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
    317335org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
     
    342360org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
    343361org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
     362org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
    344363org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
    345364org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
     
    351370org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
    352371org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
     372org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
    353373org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
    354374org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
     
    374394org.eclipse.jdt.core.formatter.tabulation.char=space
    375395org.eclipse.jdt.core.formatter.tabulation.size=4
     396org.eclipse.jdt.core.formatter.use_on_off_tags=false
    376397org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
    377398org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
     399org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
     400org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
  • trunk/.settings/org.eclipse.jdt.ui.prefs

    r6757 r8510  
    33editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
    44formatter_profile=_josm
    5 formatter_settings_version=11
     5formatter_settings_version=12
    66org.eclipse.jdt.ui.javadoc=false
    77org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.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 method" enabled\="true" id\="org.eclipse.jdt.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.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\r\n * ${tags}\r\n */</template><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">// License\: GPL. \r\n</template><template autoinsert\="true" 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 ${user}\r\n *\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/* (non-Javadoc)\r\n * ${see_to_overridden}\r\n */</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template><template autoinsert\="false" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">// License\: GPL. For details, see LICENSE file.\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\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.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 method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.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.jdt.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.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\="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>
     
    1919sp_cleanup.always_use_this_for_non_static_field_access=false
    2020sp_cleanup.always_use_this_for_non_static_method_access=false
     21sp_cleanup.convert_functional_interfaces=false
    2122sp_cleanup.convert_to_enhanced_for_loop=false
    2223sp_cleanup.correct_indentation=false
    2324sp_cleanup.format_source_code=false
    24 sp_cleanup.format_source_code_changes_only=false
     25sp_cleanup.format_source_code_changes_only=true
     26sp_cleanup.insert_inferred_type_arguments=false
    2527sp_cleanup.make_local_variable_final=false
    2628sp_cleanup.make_parameters_final=false
     
    3840sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
    3941sp_cleanup.remove_private_constructors=true
     42sp_cleanup.remove_redundant_type_arguments=false
    4043sp_cleanup.remove_trailing_whitespaces=true
    4144sp_cleanup.remove_trailing_whitespaces_all=true
     
    5154sp_cleanup.sort_members=false
    5255sp_cleanup.sort_members_all=false
     56sp_cleanup.use_anonymous_class_creation=false
    5357sp_cleanup.use_blocks=false
    5458sp_cleanup.use_blocks_only_for_return_and_throw=true
     59sp_cleanup.use_lambda=false
    5560sp_cleanup.use_parentheses_in_expressions=false
    5661sp_cleanup.use_this_for_non_static_field_access=false
     
    5863sp_cleanup.use_this_for_non_static_method_access=false
    5964sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
     65sp_cleanup.use_type_arguments=false
  • trunk/.settings/org.sonar.ide.eclipse.core.prefs

    r8417 r8510  
    11eclipse.preferences.version=1
    22extraProperties=
    3 lastAnalysisDate=1431984499000
     3lastAnalysisDate=1432333871000
    44projectKey=josm
    55serverUrl=http\://josm.openstreetmap.de/sonar
Note: See TracChangeset for help on using the changeset viewer.