Skip to content

Commit dd4626f

Browse files
committed
Init commit
0 parents  commit dd4626f

File tree

87 files changed

+12819
-0
lines changed

Some content is hidden

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

87 files changed

+12819
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE suppressions PUBLIC
3+
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
4+
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
5+
6+
<!-- IMPORTANT ECLIPSE NOTE: If you change this file, you must restart Eclipse
7+
for your changes to take effect in its Checkstyle integration. -->
8+
<suppressions>
9+
<!-- Suppress test classes -->
10+
<suppress files="[/\\]src[/\\].*[Tt]est[/\\](java|groovy)[/\\]" checks="Javadoc*" />
11+
<suppress files="[/\\]src[/\\].*[Tt]est[/\\](java|groovy)[/\\]" checks="VariableDeclarationUsageDistance" />
12+
<suppress files="[/\\]src[/\\].*[Tt]est[/\\](java|groovy)[/\\]" checks="VisibilityModifier" />
13+
<suppress files="[/\\]src[/\\].*[Tt]est[/\\](java|groovy)[/\\]" checks="AvoidStaticImport" />
14+
<suppress files="[/\\]src[/\\].*[Tt]est[/\\](java|groovy)[/\\]" id="BanSystemOut" />
15+
<suppress files="[/\\]src[/\\].*[Tt]est[/\\](java|groovy)[/\\]" id="BanSystemErr" />
16+
17+
<suppress files="[/\\]src[/\\].*[Mm]ain[/\\](java|groovy)[/\\]" checks="PreferSafeLoggingPreconditions" />
18+
<suppress files="[/\\]src[/\\].*[Mm]ain[/\\](java|groovy)[/\\]" checks="PreferSafeLoggableExceptions" />
19+
20+
<!-- Suppress test resources -->
21+
<suppress files="[/\\]src[/\\]test[/\\]resources.*" checks="." />
22+
23+
<!-- JavadocStyle enforces existence of package-info.java package-level Javadoc; we consider this a bug. -->
24+
<suppress files="package-info.java" checks="JavadocStyle" />
25+
26+
<!-- non-code classes -->
27+
<suppress files="\.(bdr|eot|gif|gzip|jar|json|otf|png|svg|ttf|woff|zip)$" checks="FileTabCharacter" />
28+
<suppress files="\.(bdr|eot|gif|gzip|jar|json|otf|png|svg|ttf|woff|zip)$" checks="NewlineAtEndOfFile" />
29+
30+
<!-- Generated code should not be subjected to checkstyle. -->
31+
<suppress files="[/\\].*[/\\]generated.*[/\\]" checks="." />
32+
</suppressions>

.baseline/checkstyle/checkstyle.xml

+448
Large diffs are not rendered by default.
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
(c) Copyright ${today.year} Palantir Technologies Inc. All rights reserved.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
4+
<local-check-config name="Baseline" location="${configDir}/checkstyle/checkstyle.xml" type="external" description="">
5+
<additional-data name="protect-config-file" value="false"/>
6+
</local-check-config>
7+
<fileset name="all" enabled="true" check-config-name="Baseline" local="true">
8+
<file-match-pattern match-pattern="." include-pattern="false"/>
9+
<file-match-pattern match-pattern=".*\\.java" include-pattern="true"/>
10+
<file-match-pattern match-pattern=".*\\.cfg" include-pattern="true"/>
11+
<file-match-pattern match-pattern=".*\\.coffee" include-pattern="true"/>
12+
<file-match-pattern match-pattern=".*\\.erb" include-pattern="true"/>
13+
<file-match-pattern match-pattern=".*\\.groovy" include-pattern="true"/>
14+
<file-match-pattern match-pattern=".*\\.handlebars" include-pattern="true"/>
15+
<file-match-pattern match-pattern=".*\\.json" include-pattern="true"/>
16+
<file-match-pattern match-pattern=".*\\.less" include-pattern="true"/>
17+
<file-match-pattern match-pattern=".*\\.pl" include-pattern="true"/>
18+
<file-match-pattern match-pattern=".*\\.pp" include-pattern="true"/>
19+
<file-match-pattern match-pattern=".*\\.sh" include-pattern="true"/>
20+
<file-match-pattern match-pattern=".*\\.xml" include-pattern="true"/>
21+
<file-match-pattern match-pattern="src/test/resources/.*" include-pattern="false"/>
22+
</fileset>
23+
</fileset-config>

.baseline/eclipse/org.eclipse.jdt.core.prefs

+313
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
eclipse.preferences.version=1
2+
editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
3+
formatter_profile=_Baseline Profile
4+
formatter_settings_version=12
5+
org.eclipse.jdt.ui.exception.name=e
6+
org.eclipse.jdt.ui.gettersetter.use.is=false
7+
org.eclipse.jdt.ui.ignorelowercasenames=true
8+
org.eclipse.jdt.ui.importorder=;
9+
org.eclipse.jdt.ui.javadoc=false
10+
org.eclipse.jdt.ui.keywordthis=false
11+
org.eclipse.jdt.ui.ondemandthreshold=999
12+
org.eclipse.jdt.ui.overrideannotation=true
13+
org.eclipse.jdt.ui.staticondemandthreshold=999
14+
org.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">/**\n * @return the ${bare_field_name}\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">/**\n * @param ${param} the ${bare_field_name} to set\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">/**\n * ${tags}\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"/><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">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment"/><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">/**\n * ${tags}\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)\n * ${see_to_overridden}\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">/**\n * ${tags}\n * ${see_to_target}\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">/*\n * (c) Copyright ${year} Palantir Technologies Inc. All rights reserved.\n */\n\n${package_declaration}\n\n/**\n * \n */\n${typecomment}\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">\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">\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">\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">\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">throw new RuntimeException(${exception_var});</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">${body_statement}</template><template autoinsert\="false" 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}</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></templates>
15+
sp_cleanup.add_default_serial_version_id=true
16+
sp_cleanup.add_generated_serial_version_id=false
17+
sp_cleanup.add_missing_annotations=true
18+
sp_cleanup.add_missing_deprecated_annotations=true
19+
sp_cleanup.add_missing_methods=false
20+
sp_cleanup.add_missing_nls_tags=false
21+
sp_cleanup.add_missing_override_annotations=true
22+
sp_cleanup.add_missing_override_annotations_interface_methods=true
23+
sp_cleanup.add_serial_version_id=false
24+
sp_cleanup.always_use_blocks=true
25+
sp_cleanup.always_use_parentheses_in_expressions=false
26+
sp_cleanup.always_use_this_for_non_static_field_access=false
27+
sp_cleanup.always_use_this_for_non_static_method_access=false
28+
sp_cleanup.convert_to_enhanced_for_loop=false
29+
sp_cleanup.correct_indentation=false
30+
sp_cleanup.format_source_code=false
31+
sp_cleanup.format_source_code_changes_only=false
32+
sp_cleanup.make_local_variable_final=false
33+
sp_cleanup.make_parameters_final=false
34+
sp_cleanup.make_private_fields_final=true
35+
sp_cleanup.make_type_abstract_if_missing_method=false
36+
sp_cleanup.make_variable_declarations_final=false
37+
sp_cleanup.never_use_blocks=false
38+
sp_cleanup.never_use_parentheses_in_expressions=true
39+
sp_cleanup.on_save_use_additional_actions=true
40+
sp_cleanup.organize_imports=true
41+
sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
42+
sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
43+
sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
44+
sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
45+
sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
46+
sp_cleanup.remove_private_constructors=true
47+
sp_cleanup.remove_trailing_whitespaces=true
48+
sp_cleanup.remove_trailing_whitespaces_all=true
49+
sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
50+
sp_cleanup.remove_unnecessary_casts=true
51+
sp_cleanup.remove_unnecessary_nls_tags=false
52+
sp_cleanup.remove_unused_imports=true
53+
sp_cleanup.remove_unused_local_variables=false
54+
sp_cleanup.remove_unused_private_fields=true
55+
sp_cleanup.remove_unused_private_members=false
56+
sp_cleanup.remove_unused_private_methods=true
57+
sp_cleanup.remove_unused_private_types=true
58+
sp_cleanup.sort_members=false
59+
sp_cleanup.sort_members_all=false
60+
sp_cleanup.use_blocks=false
61+
sp_cleanup.use_blocks_only_for_return_and_throw=false
62+
sp_cleanup.use_parentheses_in_expressions=false
63+
sp_cleanup.use_this_for_non_static_field_access=false
64+
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
65+
sp_cleanup.use_this_for_non_static_method_access=false
66+
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true

0 commit comments

Comments
 (0)