Skip to content

Commit d90cc1d

Browse files
author
Trisha Gee
committed
Settings for IntelliJ. Final required for fields and params, not allowed for variables, or params on interafaces and abstract methods.
1 parent 96f70d3 commit d90cc1d

2 files changed

Lines changed: 4 additions & 17 deletions

File tree

mongodb_3_0.xml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--
3-
~ Copyright (c) 2008 - 2013 10gen, Inc. <http://10gen.com>
4-
~
5-
~ Licensed under the Apache License, Version 2.0 (the "License");
6-
~ you may not use this file except in compliance with the License.
7-
~ 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-
182
<inspections version="1.0" is_locked="false">
193
<option name="myName" value="mongodb-3.0" />
204
<option name="myLocal" value="true" />
@@ -292,7 +276,7 @@
292276
<option name="CHECK_NON_ANNOTATED_REFERENCES" value="true" />
293277
</inspection_tool>
294278
<inspection_tool class="LocalCanBeFinal" enabled="true" level="WARNING" enabled_by_default="true">
295-
<option name="REPORT_VARIABLES" value="true" />
279+
<option name="REPORT_VARIABLES" value="false" />
296280
<option name="REPORT_PARAMETERS" value="true" />
297281
</inspection_tool>
298282
<inspection_tool class="LoopStatementsThatDontLoop" enabled="false" level="WARNING" enabled_by_default="false" />
@@ -431,6 +415,9 @@
431415
<inspection_tool class="UnnecessaryBoxing" enabled="false" level="WARNING" enabled_by_default="false" />
432416
<inspection_tool class="UnnecessaryConditionalExpression" enabled="false" level="WARNING" enabled_by_default="false" />
433417
<inspection_tool class="UnnecessaryContinue" enabled="false" level="WARNING" enabled_by_default="false" />
418+
<inspection_tool class="UnnecessaryFinalOnLocalVariableOrParameter" enabled="true" level="WARNING" enabled_by_default="true">
419+
<option name="onlyWarnOnAbstractMethods" value="true" />
420+
</inspection_tool>
434421
<inspection_tool class="UnnecessaryInheritDoc" enabled="true" level="WARNING" enabled_by_default="true" />
435422
<inspection_tool class="UnnecessaryJavaDocLink" enabled="true" level="WARNING" enabled_by_default="true">
436423
<option name="ignoreInlineLinkToSuper" value="false" />

settings.jar

2.47 KB
Binary file not shown.

0 commit comments

Comments
 (0)