Skip to content

Commit 05c6a7d

Browse files
committed
[ISSUE #299]Add copyright file and codestyle for develop
1 parent 2e9007f commit 05c6a7d

File tree

2 files changed

+166
-0
lines changed

2 files changed

+166
-0
lines changed

style/copyright/Apache.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
the License. You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
18+
<component name="CopyrightManager">
19+
<copyright>
20+
<option name="myName" value="Apache" />
21+
<option name="notice" value="Licensed to the Apache Software Foundation (ASF) under one or more&#10;contributor license agreements. See the NOTICE file distributed with&#10;this work for additional information regarding copyright ownership.&#10;The ASF licenses this file to You under the Apache License, Version 2.0&#10;(the &quot;License&quot;); you may not use this file except in compliance with&#10;the License. You may obtain a copy of the License at&#10;&#10; http://www.apache.org/licenses/LICENSE-2.0&#10;&#10;Unless required by applicable law or agreed to in writing, software&#10;distributed under the License is distributed on an &quot;AS IS&quot; BASIS,&#10;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#10;See the License for the specific language governing permissions and&#10;limitations under the License." />
22+
</copyright>
23+
</component>

style/sofa_bolt_codeStyle.xml

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
the License. You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
18+
<code_scheme name="bolt">
19+
<option name="USE_SAME_INDENTS" value="true"/>
20+
<option name="IGNORE_SAME_INDENTS_FOR_LANGUAGES" value="true"/>
21+
<option name="OTHER_INDENT_OPTIONS">
22+
<value>
23+
<option name="INDENT_SIZE" value="4"/>
24+
<option name="CONTINUATION_INDENT_SIZE" value="4"/>
25+
<option name="TAB_SIZE" value="4"/>
26+
<option name="USE_TAB_CHARACTER" value="false"/>
27+
<option name="SMART_TABS" value="false"/>
28+
<option name="LABEL_INDENT_SIZE" value="0"/>
29+
<option name="LABEL_INDENT_ABSOLUTE" value="false"/>
30+
<option name="USE_RELATIVE_INDENTS" value="false"/>
31+
</value>
32+
</option>
33+
<option name="PREFER_LONGER_NAMES" value="false"/>
34+
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="1000"/>
35+
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="1000"/>
36+
<option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
37+
<value/>
38+
</option>
39+
<option name="IMPORT_LAYOUT_TABLE">
40+
<value>
41+
<package name="" withSubpackages="true" static="false"/>
42+
<emptyLine/>
43+
<package name="" withSubpackages="true" static="true"/>
44+
</value>
45+
</option>
46+
<option name="JD_ALIGN_PARAM_COMMENTS" value="false"/>
47+
<option name="JD_ALIGN_EXCEPTION_COMMENTS" value="false"/>
48+
<option name="JD_P_AT_EMPTY_LINES" value="false"/>
49+
<option name="JD_KEEP_INVALID_TAGS" value="false"/>
50+
<option name="JD_DO_NOT_WRAP_ONE_LINE_COMMENTS" value="true"/>
51+
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false"/>
52+
<option name="KEEP_BLANK_LINES_IN_DECLARATIONS" value="1"/>
53+
<option name="KEEP_BLANK_LINES_IN_CODE" value="1"/>
54+
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="1"/>
55+
<option name="WHILE_ON_NEW_LINE" value="true"/>
56+
<option name="ALIGN_MULTILINE_PARAMETERS" value="false"/>
57+
<option name="ALIGN_MULTILINE_FOR" value="false"/>
58+
<option name="SPACE_AFTER_TYPE_CAST" value="true"/>
59+
<option name="SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE" value="true"/>
60+
<option name="METHOD_PARAMETERS_WRAP" value="1"/>
61+
<option name="ARRAY_INITIALIZER_LBRACE_ON_NEXT_LINE" value="true"/>
62+
<option name="LABELED_STATEMENT_WRAP" value="1"/>
63+
<option name="WRAP_COMMENTS" value="true"/>
64+
<option name="METHOD_ANNOTATION_WRAP" value="2"/>
65+
<option name="CLASS_ANNOTATION_WRAP" value="1"/>
66+
<option name="FIELD_ANNOTATION_WRAP" value="1"/>
67+
<JavaCodeStyleSettings>
68+
<option name="CLASS_NAMES_IN_JAVADOC" value="3"/>
69+
</JavaCodeStyleSettings>
70+
<XML>
71+
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true"/>
72+
</XML>
73+
<ADDITIONAL_INDENT_OPTIONS fileType="haml">
74+
<option name="INDENT_SIZE" value="2"/>
75+
</ADDITIONAL_INDENT_OPTIONS>
76+
<codeStyleSettings language="Groovy">
77+
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false"/>
78+
<option name="KEEP_BLANK_LINES_IN_DECLARATIONS" value="1"/>
79+
<option name="KEEP_BLANK_LINES_IN_CODE" value="1"/>
80+
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="1"/>
81+
<option name="ALIGN_MULTILINE_PARAMETERS" value="false"/>
82+
<option name="ALIGN_MULTILINE_FOR" value="false"/>
83+
<option name="METHOD_PARAMETERS_WRAP" value="1"/>
84+
<option name="METHOD_ANNOTATION_WRAP" value="1"/>
85+
<option name="CLASS_ANNOTATION_WRAP" value="1"/>
86+
<option name="FIELD_ANNOTATION_WRAP" value="1"/>
87+
<option name="PARENT_SETTINGS_INSTALLED" value="true"/>
88+
<indentOptions>
89+
<option name="CONTINUATION_INDENT_SIZE" value="4"/>
90+
</indentOptions>
91+
</codeStyleSettings>
92+
<codeStyleSettings language="HOCON">
93+
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="1"/>
94+
<option name="PARENT_SETTINGS_INSTALLED" value="true"/>
95+
</codeStyleSettings>
96+
<codeStyleSettings language="JAVA">
97+
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false"/>
98+
<option name="KEEP_BLANK_LINES_IN_DECLARATIONS" value="1"/>
99+
<option name="KEEP_BLANK_LINES_IN_CODE" value="1"/>
100+
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="1"/>
101+
<option name="WHILE_ON_NEW_LINE" value="true"/>
102+
<option name="ALIGN_MULTILINE_PARAMETERS" value="false"/>
103+
<option name="ALIGN_MULTILINE_FOR" value="false"/>
104+
<option name="SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE" value="true"/>
105+
<option name="METHOD_PARAMETERS_WRAP" value="1"/>
106+
<option name="ARRAY_INITIALIZER_LBRACE_ON_NEXT_LINE" value="true"/>
107+
<option name="LABELED_STATEMENT_WRAP" value="1"/>
108+
<option name="METHOD_ANNOTATION_WRAP" value="2"/>
109+
<option name="CLASS_ANNOTATION_WRAP" value="1"/>
110+
<option name="FIELD_ANNOTATION_WRAP" value="1"/>
111+
<option name="PARENT_SETTINGS_INSTALLED" value="true"/>
112+
<indentOptions>
113+
<option name="CONTINUATION_INDENT_SIZE" value="4"/>
114+
</indentOptions>
115+
</codeStyleSettings>
116+
<codeStyleSettings language="JSON">
117+
<option name="KEEP_BLANK_LINES_IN_CODE" value="1"/>
118+
<option name="PARENT_SETTINGS_INSTALLED" value="true"/>
119+
</codeStyleSettings>
120+
<codeStyleSettings language="Scala">
121+
<option name="KEEP_BLANK_LINES_IN_DECLARATIONS" value="1"/>
122+
<option name="KEEP_BLANK_LINES_IN_CODE" value="1"/>
123+
<option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="1"/>
124+
<option name="WHILE_ON_NEW_LINE" value="true"/>
125+
<option name="ALIGN_MULTILINE_PARAMETERS" value="false"/>
126+
<option name="ALIGN_MULTILINE_FOR" value="false"/>
127+
<option name="METHOD_PARAMETERS_WRAP" value="1"/>
128+
<option name="METHOD_ANNOTATION_WRAP" value="2"/>
129+
<option name="CLASS_ANNOTATION_WRAP" value="1"/>
130+
<option name="FIELD_ANNOTATION_WRAP" value="1"/>
131+
<option name="PARENT_SETTINGS_INSTALLED" value="true"/>
132+
<indentOptions>
133+
<option name="INDENT_SIZE" value="4"/>
134+
<option name="CONTINUATION_INDENT_SIZE" value="4"/>
135+
<option name="TAB_SIZE" value="4"/>
136+
</indentOptions>
137+
</codeStyleSettings>
138+
<codeStyleSettings language="XML">
139+
<indentOptions>
140+
<option name="CONTINUATION_INDENT_SIZE" value="4"/>
141+
</indentOptions>
142+
</codeStyleSettings>
143+
</code_scheme>

0 commit comments

Comments
 (0)