-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #248 from Aiven-Open/spotless
Add spotless
- Loading branch information
Showing
34 changed files
with
1,277 additions
and
2,029 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,172 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<profiles version="10"> | ||
<profile kind="CodeFormatterProfile" name="CheckStyle-Generated aiven-flink-utils" version="10"> | ||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="80" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="end_of_line" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4" /> | ||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" | ||
value="end_of_line" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4" /> | ||
<setting | ||
id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" | ||
value="end_of_line" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="120" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" | ||
value="insert" /> | ||
<setting | ||
id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="end_of_line" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="end_of_line" /> | ||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="insert" /> | ||
<setting | ||
id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="end_of_line" /> | ||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" | ||
value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" | ||
value="do not insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert" /> | ||
<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="120" /> | ||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" | ||
value="do not insert" /> | ||
</profile> | ||
</profiles> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Copyright $YEAR Aiven Oy | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ |
Oops, something went wrong.