blob: eb0d8bf44326adabff5aaa605743a2a1fe885cbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
|
###
### Jindent 3.2x property file -- http://www.jindent.de
###
### this encapsulates my preferred style, plus project-specific style ...
###
### author: Marc Johnson
###
### General -- Convention
conventionName = ""
conventionString = ""
conventionNotePosition = "none"
blankLinesToSeparateConventionNote = 2
### General -- Jindent Note
jindentNotePosition = "none"
blankLinesToSeparateJindentNote = 2
### Header/Footer -- Header Template
headerSmartMode = infinite
headerIdentifyKey = "Copyright (c) 2002-2006 The Apache Software Foundation"
blankLinesBeforeHeader = 1
header[00]="/* ==================================================================="
header[01]=" * Licensed to the Apache Software Foundation (ASF) under one"
header[02]=" * or more contributor license agreements. See the NOTICE file"
header[03]=" * distributed with this work for additional information"
header[04]=" * regarding copyright ownership. The ASF licenses this file"
header[05]=" * to you under the Apache License, Version 2.0 (the"
header[06]=" * \"License\"); you may not use this file except in compliance"
header[07]=" * with the License. You may obtain a copy of the License at"
header[08]=" * "
header[09]=" * http://www.apache.org/licenses/LICENSE-2.0"
header[10]=" * "
header[11]=" * Unless required by applicable law or agreed to in writing,"
header[12]=" * software distributed under the License is distributed on an"
header[13]=" * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY"
header[14]=" * KIND, either express or implied. See the License for the"
header[15]=" * specific language governing permissions and limitations"
header[16]=" * under the License"
header[17]=" */"
blankLinesAfterHeader = 1
### Header/Footer -- Footer Template
footerSmartMode = infinite
footerIdentifyKey = ""
blankLinesBeforeFooter = 0
footer[00] = ""
blankLinesAfterFooter = 0
### Indentation -- Misc
tabulatorSize = 8
indentSize = 4
firstLevelIndent = 0
indentCaseFromSwitch = true
labelNewLine = true
indentLabels = true
minimumCommentIndent = 3
indentLeadingsByTabs = false
indentCommentsByTabs = false
indentDeclarationsByTabs = false
indentAssignmentsByTabs = false
### Indentation -- Alignment
alignComments = true
alignDeclarations = true
alignAssignments = true
alignTernaryConditions = false
alignTernaryExpressions = true
alignTooLongComments = true
### Braces -- Style
leftBraceNewLineGeneral = true
rightBraceNewLineGeneral = true
indentLeftBraceGeneral = 0
indentRightBraceGeneral = 0
indentAfterRightBraceGeneral = 0
cuddleEmptyBracesGeneral = false
indentCuddledBracesGeneral = 0
leftBraceNewLineClassInterface = true
rightBraceNewLineClassInterface = true
indentLeftBraceClassInterface = 0
indentRightBraceClassInterface = 0
indentAfterRightBraceClassInterface = 0
cuddleEmptyBracesClassInterface = false
indentCuddledBracesClassInterface = 0
leftBraceNewLineMethod = true
rightBraceNewLineMethod = true
indentLeftBraceMethod = 0
indentRightBraceMethod = 0
indentAfterRightBraceMethod = 0
cuddleEmptyBracesMethod = false
indentCuddledBracesMethod = 0
leftBraceNewLineTryCatch = true
rightBraceNewLineTryCatch = true
indentLeftBraceTryCatch = 0
indentRightBraceTryCatch = 0
indentAfterRightBraceTryCatch = 0
cuddleEmptyBracesTryCatch = false
indentCuddledBracesTryCatch = 0
### Braces -- Insert At
insertBracesAtIfElse = true
insertBracesAtFor = true
insertBracesAtWhile = true
insertBracesAtDoWhile = true
insertParenthesisAtConditions = true
### Braces -- If-Else
singleIfStatementInOneLine = false
singleElseStatementInOneLine = false
specialElseIfTreatment = true
### JavaDoc -- Misc
deleteJavaDocComments = false
formatJavaDocComments = true
insertMissingJavaDocTags = true
deleteObsoleteJavaDocTags = false
createPublicClassInterfaceJavaDocs = true
createFriendlyClassInterfaceJavaDocs = false
createPrivateClassInterfaceJavaDocs = false
createProtectedClassInterfaceJavaDocs = false
createPublicMethodJavaDocs = false
createFriendlyMethodJavaDocs = false
createPrivateMethodJavaDocs = false
createProtectedMethodJavaDocs = false
createPublicFieldJavaDocs = false
createFriendlyFieldJavaDocs = false
createPrivateFieldJavaDocs = false
createProtectedFieldJavaDocs = false
### JavaDoc -- Templates
sortExceptionsInTemplates = true
javaDocMethodTop[00] = "/**"
javaDocMethodTop[01] = " * Method $objectName$"
javaDocMethodTop[02] = " *"
javaDocMethodParamSeparator[00] = " *"
javaDocMethodParam[00] = " * @param $paramName$"
javaDocMethodReturn[00] = " *"
javaDocMethodReturn[01] = " * @return"
javaDocMethodExceptionSeparator[00] = " *"
javaDocMethodException[00] = " * @throws $exceptionName$"
javaDocMethodBottom[00] = " *"
javaDocMethodBottom[01] = " */"
javaDocConstructorTop[00] = "/**"
javaDocConstructorTop[01] = " * Constructor $objectName$"
javaDocConstructorTop[02] = " *"
javaDocConstructorParamSeparator[00] = " *"
javaDocConstructorParam[00] = " * @param $paramName$"
javaDocConstructorExceptionSeparator[00] = " *"
javaDocConstructorException[00] = " * @throws $exceptionName$"
javaDocConstructorBottom[00] = " *"
javaDocConstructorBottom[01] = " */"
javaDocClass[00] = "/**"
javaDocClass[01] = " * Class $objectName$"
javaDocClass[02] = " *"
javaDocClass[03] = " *"
javaDocClass[04] = " * @author"
javaDocClass[05] = " * @version %I%, %G%"
javaDocClass[06] = " */"
javaDocInterface[00] = "/**"
javaDocInterface[01] = " * Interface $objectName$"
javaDocInterface[02] = " *"
javaDocInterface[03] = " *"
javaDocInterface[04] = " * @author"
javaDocInterface[05] = " * @version %I%, %G%"
javaDocInterface[06] = " */"
javaDocField[00] = "/** Field $objectName$ */"
### Comments -- Format/Delete
deleteBlockComments = false
deleteSingleLineComments = false
deleteTrailingComments = false
deleteEndOfLineComments = false
formatBlockComments = true
formatSingleLineComments = true
formatTrailingComments = true
formatEndOfLineComments = true
### Comments -- Exceptions
neverIndentFirstColumnComments = true
neverFormatFirstColumnComments = true
neverFormatHeader = false
neverFormatFooter = false
### Separation -- Misc
keepBlankLines = 0
minLinesToInsertBlankLineInClasses = infinite
minLinesToInsertBlankLineInMethods = infinite
### Separation -- Separate
separateChunksByComments = false
allowBreakSeparatedFromCaseBlock = false
blankLinesBetweenCaseBlocks = 1
blankLinesBetweenChunks = 0
comparableImportDepth = 2
blankLinesToSeparateImports = 1
blankLinesBetweenClassInterface = 2
### Separation -- Insert Blank Lines
blankLinesAfterDeclarations = 1
blankLinesAfterMethods = 1
blankLinesAfterClasses = 1
blankLinesAfterInterfaces = 1
blankLinesBeforeJavaDocComments = 1
blankLinesAfterJavaDocComments = 1
blankLinesBeforeBlockComments = 1
blankLinesAfterBlockComments = 0
blankLinesBeforeSingleLineComments = 1
blankLinesAfterSingleLineComments = 0
blankLinesBeforeEndOfLineComments = 1
blankLinesAfterEndOfLineComments = 0
blankLinesAfterSwitch = 1
blankLinesAfterPackage = 1
blankLinesAfterLastImport = 1
### Whitespaces -- Padding
separateAssignmentOperators = true
separateConditionalOperators = true
separateComparisonOperators = true
separateNumericalOperators = true
paddingCastParenthesis = true
paddingParenthesis = false
paddingBrackets = true
paddingBraces = true
### Whitespaces -- Space Before
spaceBeforeMethodDeclarationParenthesis = false
spaceBeforeMethodCallParenthesis = false
spaceBeforeBrackets = false
spaceBeforeBracketsInTypes = true
spaceBeforeStatementParenthesis = true
spaceBeforeConditionBang = true
spaceBeforeCaseColon = true
### Whitespaces -- Space After
spaceAfterComma = true
spaceAfterSemicolon = true
spaceAfterCasting = true
### Whitespaces -- No Spaces
noSpacesInEmptyForExpressions = true
### Line Wrapping -- Misc
maxFieldElementsPerLine = 0
wrapLines = true
wrapBecauseOfComments = true
wrapLongMethodNames = true
maxLineLength = 78
deepIndent = 45
forceIndent = 8
forceIndentTolerance = 4
allowWrappingAfterAssignments = true
allowWrappingAfterParenthesis = true
preferWrappingAfterThrows = true
alwaysWrapThrows = true
alwaysWrapExtends = true
alwaysWrapImplements = true
indentWrappedThrows = 4
indentWrappedExtends = 4
indentWrappedImplements = 4
|