Skip to content

Commit a0cf343

Browse files
committed
Formatting / XML and XSD.
1 parent 5dcb42f commit a0cf343

File tree

1,544 files changed

+271822
-230385
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,544 files changed

+271822
-230385
lines changed

code_quality/checkstyle_checks.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
~ Rome - Italy. email: [email protected]
2323
-->
2424

25-
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
25+
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
26+
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
2627

2728
<!--
2829
Checkstyle-Configuration: Geonetwork

code_quality/checkstyle_suppressions.xml

+18-18
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,23 @@
2424
-->
2525

2626
<!DOCTYPE suppressions PUBLIC
27-
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
28-
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
27+
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
28+
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
2929

3030
<suppressions>
31-
<suppress files=".*Test.*\.java" checks="[a-zA-Z0-9]*"/>
32-
<suppress files=".*DummyGraph\.java" checks="[a-zA-Z0-9]*"/>
33-
<suppress files="core/.*" checks="[a-zA-Z0-9]*"/>
34-
<suppress files="cachingxslt/.*" checks="[a-zA-Z0-9]*"/>
35-
<suppress files="csw-server/.*" checks="[a-zA-Z0-9]*"/>
36-
<suppress files="dummy-api/.*" checks="[a-zA-Z0-9]*"/>
37-
<suppress files="harvesters/.*" checks="[a-zA-Z0-9]*"/>
38-
<suppress files="health-monitor/.*" checks="[a-zA-Z0-9]*"/>
39-
<suppress files="jeeves/.*" checks="[a-zA-Z0-9]*"/>
40-
<suppress files="oaipmh/.*" checks="[a-zA-Z0-9]*"/>
41-
<suppress files="services/.*" checks="[a-zA-Z0-9]*"/>
42-
<suppress files="web-app/.*" checks="[a-zA-Z0-9]*"/>
43-
<suppress files="common/.*" checks="[a-zA-Z0-9]*"/>
44-
<suppress files="domain/.*_.java" checks="[a-zA-Z0-9]*"/>
45-
<suppress files="domain/.*" checks="DesignForExtension"/>
46-
</suppressions>
31+
<suppress files=".*Test.*\.java" checks="[a-zA-Z0-9]*"/>
32+
<suppress files=".*DummyGraph\.java" checks="[a-zA-Z0-9]*"/>
33+
<suppress files="core/.*" checks="[a-zA-Z0-9]*"/>
34+
<suppress files="cachingxslt/.*" checks="[a-zA-Z0-9]*"/>
35+
<suppress files="csw-server/.*" checks="[a-zA-Z0-9]*"/>
36+
<suppress files="dummy-api/.*" checks="[a-zA-Z0-9]*"/>
37+
<suppress files="harvesters/.*" checks="[a-zA-Z0-9]*"/>
38+
<suppress files="health-monitor/.*" checks="[a-zA-Z0-9]*"/>
39+
<suppress files="jeeves/.*" checks="[a-zA-Z0-9]*"/>
40+
<suppress files="oaipmh/.*" checks="[a-zA-Z0-9]*"/>
41+
<suppress files="services/.*" checks="[a-zA-Z0-9]*"/>
42+
<suppress files="web-app/.*" checks="[a-zA-Z0-9]*"/>
43+
<suppress files="common/.*" checks="[a-zA-Z0-9]*"/>
44+
<suppress files="domain/.*_.java" checks="[a-zA-Z0-9]*"/>
45+
<suppress files="domain/.*" checks="DesignForExtension"/>
46+
</suppressions>

code_quality/cleanup.xml

+55-53
Original file line numberDiff line numberDiff line change
@@ -23,57 +23,59 @@
2323
-->
2424

2525
<profiles version="2">
26-
<profile kind="CleanUpProfile" name="Caltar cleanup" version="2">
27-
<setting id="cleanup.remove_unused_private_fields" value="true"/>
28-
<setting id="cleanup.always_use_parentheses_in_expressions" value="false"/>
29-
<setting id="cleanup.never_use_blocks" value="false"/>
30-
<setting id="cleanup.remove_unused_private_methods" value="true"/>
31-
<setting id="cleanup.add_missing_deprecated_annotations" value="true"/>
32-
<setting id="cleanup.convert_to_enhanced_for_loop" value="true"/>
33-
<setting id="cleanup.remove_unnecessary_nls_tags" value="true"/>
34-
<setting id="cleanup.sort_members" value="false"/>
35-
<setting id="cleanup.remove_unused_local_variables" value="false"/>
36-
<setting id="cleanup.never_use_parentheses_in_expressions" value="true"/>
37-
<setting id="cleanup.remove_unused_private_members" value="false"/>
38-
<setting id="cleanup.remove_unnecessary_casts" value="true"/>
39-
<setting id="cleanup.make_parameters_final" value="true"/>
40-
<setting id="cleanup.use_this_for_non_static_field_access" value="false"/>
41-
<setting id="cleanup.remove_private_constructors" value="true"/>
42-
<setting id="cleanup.use_blocks" value="true"/>
43-
<setting id="cleanup.always_use_this_for_non_static_method_access" value="false"/>
44-
<setting id="cleanup.remove_trailing_whitespaces_all" value="true"/>
45-
<setting id="cleanup.always_use_this_for_non_static_field_access" value="false"/>
46-
<setting id="cleanup.use_this_for_non_static_field_access_only_if_necessary" value="true"/>
47-
<setting id="cleanup.add_default_serial_version_id" value="true"/>
48-
<setting id="cleanup.make_type_abstract_if_missing_method" value="false"/>
49-
<setting id="cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class" value="true"/>
50-
<setting id="cleanup.make_variable_declarations_final" value="true"/>
51-
<setting id="cleanup.add_missing_nls_tags" value="false"/>
52-
<setting id="cleanup.format_source_code" value="true"/>
53-
<setting id="cleanup.qualify_static_method_accesses_with_declaring_class" value="false"/>
54-
<setting id="cleanup.add_missing_override_annotations" value="true"/>
55-
<setting id="cleanup.remove_unused_private_types" value="true"/>
56-
<setting id="cleanup.add_missing_methods" value="false"/>
57-
<setting id="cleanup.make_local_variable_final" value="true"/>
58-
<setting id="cleanup.correct_indentation" value="true"/>
59-
<setting id="cleanup.add_missing_override_annotations_interface_methods" value="true"/>
60-
<setting id="cleanup.remove_unused_imports" value="true"/>
61-
<setting id="cleanup.remove_trailing_whitespaces_ignore_empty" value="false"/>
62-
<setting id="cleanup.make_private_fields_final" value="true"/>
63-
<setting id="cleanup.add_generated_serial_version_id" value="false"/>
64-
<setting id="cleanup.organize_imports" value="true"/>
65-
<setting id="cleanup.remove_trailing_whitespaces" value="true"/>
66-
<setting id="cleanup.sort_members_all" value="false"/>
67-
<setting id="cleanup.use_blocks_only_for_return_and_throw" value="false"/>
68-
<setting id="cleanup.add_missing_annotations" value="true"/>
69-
<setting id="cleanup.use_parentheses_in_expressions" value="false"/>
70-
<setting id="cleanup.qualify_static_field_accesses_with_declaring_class" value="false"/>
71-
<setting id="cleanup.use_this_for_non_static_method_access_only_if_necessary" value="true"/>
72-
<setting id="cleanup.use_this_for_non_static_method_access" value="false"/>
73-
<setting id="cleanup.qualify_static_member_accesses_through_instances_with_declaring_class" value="true"/>
74-
<setting id="cleanup.add_serial_version_id" value="false"/>
75-
<setting id="cleanup.format_source_code_changes_only" value="false"/>
76-
<setting id="cleanup.qualify_static_member_accesses_with_declaring_class" value="true"/>
77-
<setting id="cleanup.always_use_blocks" value="true"/>
78-
</profile>
26+
<profile kind="CleanUpProfile" name="Caltar cleanup" version="2">
27+
<setting id="cleanup.remove_unused_private_fields" value="true"/>
28+
<setting id="cleanup.always_use_parentheses_in_expressions" value="false"/>
29+
<setting id="cleanup.never_use_blocks" value="false"/>
30+
<setting id="cleanup.remove_unused_private_methods" value="true"/>
31+
<setting id="cleanup.add_missing_deprecated_annotations" value="true"/>
32+
<setting id="cleanup.convert_to_enhanced_for_loop" value="true"/>
33+
<setting id="cleanup.remove_unnecessary_nls_tags" value="true"/>
34+
<setting id="cleanup.sort_members" value="false"/>
35+
<setting id="cleanup.remove_unused_local_variables" value="false"/>
36+
<setting id="cleanup.never_use_parentheses_in_expressions" value="true"/>
37+
<setting id="cleanup.remove_unused_private_members" value="false"/>
38+
<setting id="cleanup.remove_unnecessary_casts" value="true"/>
39+
<setting id="cleanup.make_parameters_final" value="true"/>
40+
<setting id="cleanup.use_this_for_non_static_field_access" value="false"/>
41+
<setting id="cleanup.remove_private_constructors" value="true"/>
42+
<setting id="cleanup.use_blocks" value="true"/>
43+
<setting id="cleanup.always_use_this_for_non_static_method_access" value="false"/>
44+
<setting id="cleanup.remove_trailing_whitespaces_all" value="true"/>
45+
<setting id="cleanup.always_use_this_for_non_static_field_access" value="false"/>
46+
<setting id="cleanup.use_this_for_non_static_field_access_only_if_necessary" value="true"/>
47+
<setting id="cleanup.add_default_serial_version_id" value="true"/>
48+
<setting id="cleanup.make_type_abstract_if_missing_method" value="false"/>
49+
<setting id="cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class"
50+
value="true"/>
51+
<setting id="cleanup.make_variable_declarations_final" value="true"/>
52+
<setting id="cleanup.add_missing_nls_tags" value="false"/>
53+
<setting id="cleanup.format_source_code" value="true"/>
54+
<setting id="cleanup.qualify_static_method_accesses_with_declaring_class" value="false"/>
55+
<setting id="cleanup.add_missing_override_annotations" value="true"/>
56+
<setting id="cleanup.remove_unused_private_types" value="true"/>
57+
<setting id="cleanup.add_missing_methods" value="false"/>
58+
<setting id="cleanup.make_local_variable_final" value="true"/>
59+
<setting id="cleanup.correct_indentation" value="true"/>
60+
<setting id="cleanup.add_missing_override_annotations_interface_methods" value="true"/>
61+
<setting id="cleanup.remove_unused_imports" value="true"/>
62+
<setting id="cleanup.remove_trailing_whitespaces_ignore_empty" value="false"/>
63+
<setting id="cleanup.make_private_fields_final" value="true"/>
64+
<setting id="cleanup.add_generated_serial_version_id" value="false"/>
65+
<setting id="cleanup.organize_imports" value="true"/>
66+
<setting id="cleanup.remove_trailing_whitespaces" value="true"/>
67+
<setting id="cleanup.sort_members_all" value="false"/>
68+
<setting id="cleanup.use_blocks_only_for_return_and_throw" value="false"/>
69+
<setting id="cleanup.add_missing_annotations" value="true"/>
70+
<setting id="cleanup.use_parentheses_in_expressions" value="false"/>
71+
<setting id="cleanup.qualify_static_field_accesses_with_declaring_class" value="false"/>
72+
<setting id="cleanup.use_this_for_non_static_method_access_only_if_necessary" value="true"/>
73+
<setting id="cleanup.use_this_for_non_static_method_access" value="false"/>
74+
<setting id="cleanup.qualify_static_member_accesses_through_instances_with_declaring_class"
75+
value="true"/>
76+
<setting id="cleanup.add_serial_version_id" value="false"/>
77+
<setting id="cleanup.format_source_code_changes_only" value="false"/>
78+
<setting id="cleanup.qualify_static_member_accesses_with_declaring_class" value="true"/>
79+
<setting id="cleanup.always_use_blocks" value="true"/>
80+
</profile>
7981
</profiles>

0 commit comments

Comments
 (0)