Update Release Notes
[appc.git] / .code_styling / appc-code-cleanup-preferences.xml
1 <!--
2 ============LICENSE_START==========================================
3 ONAP : APPC
4 ===================================================================
5 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6 ===================================================================
7
8 Unless otherwise specified, all software contained herein is licensed
9 under the Apache License, Version 2.0 (the License);
10 you may not use this software except in compliance with the License.
11 You may obtain a copy of the License at
12
13     http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20
21 ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 ============LICENSE_END============================================
23 -->
24 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
25 <profiles version="2">
26   <profile kind="CleanUpProfile" name="APPC Cleanup Profile"
27     version="2">
28     <setting id="cleanup.format_source_code" value="false" />
29     <setting id="cleanup.convert_functional_interfaces" value="false" />
30     <setting id="cleanup.add_missing_annotations" value="true" />
31     <setting
32       id="cleanup.use_this_for_non_static_method_access_only_if_necessary"
33       value="true" />
34     <setting id="cleanup.remove_unused_private_types" value="true" />
35     <setting id="cleanup.insert_inferred_type_arguments" value="false" />
36     <setting
37       id="cleanup.qualify_static_member_accesses_through_instances_with_declaring_class"
38       value="true" />
39     <setting
40       id="cleanup.qualify_static_method_accesses_with_declaring_class"
41       value="false" />
42     <setting id="cleanup.add_generated_serial_version_id" value="false" />
43     <setting id="cleanup.make_variable_declarations_final"
44       value="true" />
45     <setting id="cleanup.add_missing_methods" value="false" />
46     <setting id="cleanup.always_use_this_for_non_static_field_access"
47       value="false" />
48     <setting id="cleanup.use_type_arguments" value="false" />
49     <setting id="cleanup.remove_trailing_whitespaces_ignore_empty"
50       value="false" />
51     <setting id="cleanup.correct_indentation" value="true" />
52     <setting id="cleanup.never_use_parentheses_in_expressions"
53       value="true" />
54     <setting id="cleanup.add_serial_version_id" value="true" />
55     <setting id="cleanup.remove_unused_private_methods" value="true" />
56     <setting id="cleanup.use_this_for_non_static_field_access"
57       value="true" />
58     <setting id="cleanup.use_blocks_only_for_return_and_throw"
59       value="false" />
60     <setting id="cleanup.remove_unused_private_members" value="false" />
61     <setting
62       id="cleanup.add_missing_override_annotations_interface_methods"
63       value="true" />
64     <setting id="cleanup.remove_trailing_whitespaces_all" value="true" />
65     <setting id="cleanup.make_type_abstract_if_missing_method"
66       value="false" />
67     <setting id="cleanup.always_use_this_for_non_static_method_access"
68       value="false" />
69     <setting id="cleanup.remove_unnecessary_nls_tags" value="true" />
70     <setting id="cleanup.format_source_code_changes_only" value="false" />
71     <setting
72       id="cleanup.qualify_static_field_accesses_with_declaring_class"
73       value="false" />
74     <setting id="cleanup.add_missing_nls_tags" value="false" />
75     <setting
76       id="cleanup.use_this_for_non_static_field_access_only_if_necessary"
77       value="true" />
78     <setting
79       id="cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class"
80       value="true" />
81     <setting id="cleanup.remove_unnecessary_casts" value="true" />
82     <setting
83       id="cleanup.qualify_static_member_accesses_with_declaring_class"
84       value="true" />
85     <setting id="cleanup.use_parentheses_in_expressions" value="false" />
86     <setting id="cleanup.remove_unused_private_fields" value="true" />
87     <setting id="cleanup.make_parameters_final" value="true" />
88     <setting id="cleanup.remove_redundant_type_arguments" value="true" />
89     <setting id="cleanup.remove_trailing_whitespaces" value="true" />
90     <setting id="cleanup.remove_unused_imports" value="false" />
91     <setting id="cleanup.use_anonymous_class_creation" value="false" />
92     <setting id="cleanup.organize_imports" value="false" />
93     <setting id="cleanup.sort_members" value="false" />
94     <setting id="cleanup.remove_private_constructors" value="true" />
95     <setting id="cleanup.convert_to_enhanced_for_loop" value="true" />
96     <setting id="cleanup.always_use_blocks" value="true" />
97     <setting id="cleanup.never_use_blocks" value="false" />
98     <setting id="cleanup.use_lambda" value="true" />
99     <setting id="cleanup.always_use_parentheses_in_expressions"
100       value="false" />
101     <setting id="cleanup.use_this_for_non_static_method_access"
102       value="true" />
103     <setting id="cleanup.remove_unused_local_variables" value="false" />
104     <setting id="cleanup.make_private_fields_final" value="false" />
105     <setting id="cleanup.add_missing_deprecated_annotations"
106       value="true" />
107     <setting id="cleanup.add_default_serial_version_id" value="true" />
108     <setting id="cleanup.sort_members_all" value="false" />
109     <setting id="cleanup.use_blocks" value="true" />
110     <setting id="cleanup.add_missing_override_annotations"
111       value="true" />
112     <setting id="cleanup.make_local_variable_final" value="false" />
113   </profile>
114 </profiles>