Permalink
Browse files

Added 1 extra line at end of files so they'll autoconvert to unix lin…

…e endings.
  • Loading branch information...
dumptruckman committed Jan 19, 2012
1 parent 809abc2 commit 21003fc22ef895c4fc97bf1fce3d49454947c2eb
Showing with 6,507 additions and 6,444 deletions.
  1. +0 −18 LICENSE.txt
  2. +1 −1 README.md
  3. +1 −1 config.yml
  4. +143 −142 config/mv_checks.xml
  5. +394 −393 src/main/java/com/onarandombox/multiverseinventories/MultiverseInventories.java
  6. +55 −54 src/main/java/com/onarandombox/multiverseinventories/command/ImportCommand.java
  7. +86 −85 src/main/java/com/onarandombox/multiverseinventories/command/InfoCommand.java
  8. +34 −32 src/main/java/com/onarandombox/multiverseinventories/command/InventoriesCommand.java
  9. +44 −43 src/main/java/com/onarandombox/multiverseinventories/command/ListCommand.java
  10. +31 −30 src/main/java/com/onarandombox/multiverseinventories/command/ReloadCommand.java
  11. +5 −4 src/main/java/com/onarandombox/multiverseinventories/command/package-info.java
  12. +293 −292 src/main/java/com/onarandombox/multiverseinventories/config/CommentedConfiguration.java
  13. +282 −281 src/main/java/com/onarandombox/multiverseinventories/config/CommentedMVIConfig.java
  14. +80 −79 src/main/java/com/onarandombox/multiverseinventories/config/MVIConfig.java
  15. +5 −4 src/main/java/com/onarandombox/multiverseinventories/config/package-info.java
  16. +117 −116 src/main/java/com/onarandombox/multiverseinventories/data/DataStrings.java
  17. +137 −136 src/main/java/com/onarandombox/multiverseinventories/data/FlatfileMVIData.java
  18. +31 −30 src/main/java/com/onarandombox/multiverseinventories/data/MVIData.java
  19. +5 −4 src/main/java/com/onarandombox/multiverseinventories/data/package-info.java
  20. +37 −36 src/main/java/com/onarandombox/multiverseinventories/group/GroupingConflict.java
  21. +76 −75 src/main/java/com/onarandombox/multiverseinventories/group/SimpleGroupingConflict.java
  22. +183 −182 src/main/java/com/onarandombox/multiverseinventories/group/SimpleWorldGroup.java
  23. +198 −197 src/main/java/com/onarandombox/multiverseinventories/group/SimpleWorldGroupManager.java
  24. +1 −0 src/main/java/com/onarandombox/multiverseinventories/group/WorldGroup.java
  25. +70 −69 src/main/java/com/onarandombox/multiverseinventories/group/WorldGroupManager.java
  26. +10 −9 src/main/java/com/onarandombox/multiverseinventories/group/blacklist/ItemBlacklist.java
  27. +10 −9 src/main/java/com/onarandombox/multiverseinventories/group/blacklist/SimpleItemBlacklist.java
  28. +5 −4 src/main/java/com/onarandombox/multiverseinventories/group/blacklist/package-info.java
  29. +5 −4 src/main/java/com/onarandombox/multiverseinventories/group/package-info.java
  30. +17 −16 src/main/java/com/onarandombox/multiverseinventories/item/ItemWrapper.java
  31. +117 −116 src/main/java/com/onarandombox/multiverseinventories/item/SimpleItemWrapper.java
  32. +5 −4 src/main/java/com/onarandombox/multiverseinventories/item/package-info.java
  33. +50 −49 src/main/java/com/onarandombox/multiverseinventories/listener/MVIPlayerListener.java
  34. +58 −57 src/main/java/com/onarandombox/multiverseinventories/listener/MVIServerListener.java
  35. +5 −4 src/main/java/com/onarandombox/multiverseinventories/listener/package-info.java
  36. +41 −40 src/main/java/com/onarandombox/multiverseinventories/locale/LazyLocaleMessageProvider.java
  37. +44 −45 src/main/java/com/onarandombox/multiverseinventories/locale/LocalizationLoadingException.java
  38. +69 −68 src/main/java/com/onarandombox/multiverseinventories/locale/MessageProvider.java
  39. +23 −22 src/main/java/com/onarandombox/multiverseinventories/locale/MessageProviding.java
  40. +73 −72 src/main/java/com/onarandombox/multiverseinventories/locale/Messager.java
  41. +20 −19 src/main/java/com/onarandombox/multiverseinventories/locale/Messaging.java
  42. +68 −67 src/main/java/com/onarandombox/multiverseinventories/locale/MultiverseMessage.java
  43. +27 −26 src/main/java/com/onarandombox/multiverseinventories/locale/NoSuchLocalizationException.java
  44. +243 −242 src/main/java/com/onarandombox/multiverseinventories/locale/SimpleMessageProvider.java
  45. +85 −84 src/main/java/com/onarandombox/multiverseinventories/locale/SimpleMessager.java
  46. +5 −4 src/main/java/com/onarandombox/multiverseinventories/locale/package-info.java
  47. +22 −21 src/main/java/com/onarandombox/multiverseinventories/migration/DataImporter.java
  48. +71 −70 src/main/java/com/onarandombox/multiverseinventories/migration/ImportManager.java
  49. +32 −31 src/main/java/com/onarandombox/multiverseinventories/migration/MigrationException.java
  50. +29 −28 src/main/java/com/onarandombox/multiverseinventories/migration/multiinv/MIInventoryConverter.java
  51. +20 −19 src/main/java/com/onarandombox/multiverseinventories/migration/multiinv/MIInventoryInterface.java
  52. +25 −24 src/main/java/com/onarandombox/multiverseinventories/migration/multiinv/MIInventoryOldWrapper.java
  53. +25 −24 src/main/java/com/onarandombox/multiverseinventories/migration/multiinv/MIInventoryWrapper.java
  54. +114 −113 src/main/java/com/onarandombox/multiverseinventories/migration/multiinv/MIPlayerFileLoader.java
  55. +168 −167 src/main/java/com/onarandombox/multiverseinventories/migration/multiinv/MultiInvImporter.java
  56. +5 −4 src/main/java/com/onarandombox/multiverseinventories/migration/multiinv/package-info.java
  57. +6 −5 src/main/java/com/onarandombox/multiverseinventories/migration/package-info.java
  58. +227 −226 ...a/com/onarandombox/multiverseinventories/migration/worldinventories/WorldInventoriesImporter.java
  59. +5 −4 src/main/java/com/onarandombox/multiverseinventories/migration/worldinventories/package-info.java
  60. +5 −4 src/main/java/com/onarandombox/multiverseinventories/package-info.java
  61. +125 −126 src/main/java/com/onarandombox/multiverseinventories/permission/MVIPerms.java
  62. +5 −4 src/main/java/com/onarandombox/multiverseinventories/permission/package-info.java
  63. +25 −24 src/main/java/com/onarandombox/multiverseinventories/profile/PersistingProfile.java
  64. +149 −148 src/main/java/com/onarandombox/multiverseinventories/profile/PlayerProfile.java
  65. +28 −27 src/main/java/com/onarandombox/multiverseinventories/profile/ProfileContainer.java
  66. +30 −29 src/main/java/com/onarandombox/multiverseinventories/profile/ProfileManager.java
  67. +18 −17 src/main/java/com/onarandombox/multiverseinventories/profile/ProfileType.java
  68. +44 −43 src/main/java/com/onarandombox/multiverseinventories/profile/SimplePersistingProfile.java
  69. +413 −412 src/main/java/com/onarandombox/multiverseinventories/profile/SimplePlayerProfile.java
  70. +51 −50 src/main/java/com/onarandombox/multiverseinventories/profile/SimpleWorldProfile.java
  71. +82 −81 src/main/java/com/onarandombox/multiverseinventories/profile/WeakProfileContainer.java
  72. +56 −55 src/main/java/com/onarandombox/multiverseinventories/profile/WeakProfileManager.java
  73. +27 −26 src/main/java/com/onarandombox/multiverseinventories/profile/WorldProfile.java
  74. +5 −4 src/main/java/com/onarandombox/multiverseinventories/profile/package-info.java
  75. +187 −186 src/main/java/com/onarandombox/multiverseinventories/share/Sharable.java
  76. +61 −60 src/main/java/com/onarandombox/multiverseinventories/share/ShareHandler.java
  77. +54 −53 src/main/java/com/onarandombox/multiverseinventories/share/Shares.java
  78. +206 −205 src/main/java/com/onarandombox/multiverseinventories/share/SimpleShareHandler.java
  79. +163 −162 src/main/java/com/onarandombox/multiverseinventories/share/SimpleShares.java
  80. +5 −4 src/main/java/com/onarandombox/multiverseinventories/share/package-info.java
  81. +12 −11 src/main/java/com/onarandombox/multiverseinventories/util/DeserializationException.java
  82. +196 −195 src/main/java/com/onarandombox/multiverseinventories/util/Font.java
  83. +266 −265 src/main/java/com/onarandombox/multiverseinventories/util/MVIDebug.java
  84. +165 −164 src/main/java/com/onarandombox/multiverseinventories/util/MVILog.java
  85. +37 −36 src/main/java/com/onarandombox/multiverseinventories/util/MinecraftTools.java
  86. +47 −46 src/main/java/com/onarandombox/multiverseinventories/util/PlayerStats.java
  87. +5 −4 src/main/java/com/onarandombox/multiverseinventories/util/package-info.java
  88. +1 −1 src/main/resources/en.yml
  89. +1 −1 src/main/resources/plugin.yml
View
@@ -1,18 +0,0 @@
-Copyright (c) 2011. dumptruckman
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this
-software and associated documentation files (the "Software"), to deal in the Software
-without restriction, including without limitation the rights to use, copy, modify,
-merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be included in all copies
-or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
-INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
-PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
-CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
-OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -2,4 +2,4 @@ Copyright (c) 2011, The Multiverse Team All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the The Multiverse Team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the The Multiverse Team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
@@ -11,4 +11,4 @@ groups:
- world3
shares:
- inventory
- - health
+ - health
View
@@ -1,142 +1,143 @@
-<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ~ Multiverse 2 Copyright (c) the Multiverse Team 2011. ~
- ~ Multiverse 2 is licensed under the BSD License. ~
- ~ For more information please check the README.md file included ~
- ~ with this project. ~
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
-
-<!DOCTYPE module PUBLIC
- "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
- "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
-<!-- Future reference: valid severity values are 'ignore', 'info', 'warning', 'error' -->
-<module name="Checker">
- <module name="JavadocPackage">
- <property name="allowLegacy" value="true"/>
- </module>
- <module name="NewlineAtEndOfFile">
- <property name="severity" value="info"/>
- </module>
- <module name="Translation"/>
- <module name="FileLength"/>
- <module name="FileTabCharacter">
- <property name="eachLine" value="true"/>
- </module>
- <module name="RegexpSingleline">
- <property name="message" value="Line has trailing spaces."/>
- <property name="format" value="\s+$"/>
- </module>
- <module name="SuppressWithNearbyCommentFilter">
- <property name="commentFormat" value="SUPPRESS CHECKSTYLE: (\w+)"/>
- <property name="checkFormat" value="$1"/>
- </module>
- <module name="SuppressionCommentFilter">
- <property name="offCommentFormat" value="BEGIN CHECKSTYLE-SUPPRESSION\: (\w+)"/>
- <property name="onCommentFormat" value="END CHECKSTYLE-SUPPRESSION\: (\w+)"/>
- <property name="checkFormat" value="$1"/>
- </module>
- <module name="SuppressionCommentFilter">
- <property name="offCommentFormat" value="BEGIN CHECKSTYLE-SUPPRESSION\: ALL"/>
- <property name="onCommentFormat" value="END CHECKSTYLE-SUPPRESSION\: ALL"/>
- </module>
- <module name="TreeWalker">
- <!-- Make suppression possible -->
- <module name="FileContentsHolder"/>
- <!-- Actual checks -->
- <module name="LineLength">
- <property name="max" value="160"/>
- <property name="severity" value="warning"/>
- </module>
- <module name="JavadocMethod">
- <property name="scope" value="package"/><!-- We don't need javadoc for private methods -->
- <property name="tokens" value="METHOD_DEF"/><!-- We don't need javadoc for constructors -->
- </module>
- <module name="JavadocType"/>
- <module name="JavadocVariable">
- <property name="scope" value="package"/><!-- We don't need javadoc for private variables -->
- </module>
- <module name="JavadocStyle"/>
- <module name="WriteTag">
- <property name="tag" value="@author"/>
- <property name="tagFormat" value="\S"/>
- <property name="severity" value="ignore"/>
- <property name="tagSeverity" value="warning"/>
- </module>
- <module name="ConstantName"/>
- <module name="LocalVariableName"/>
- <module name="MemberName"/>
- <module name="MethodName"/>
- <module name="PackageName"/>
- <module name="ParameterName"/>
- <module name="StaticVariableName"/>
- <module name="TypeName"/>
- <module name="AvoidStarImport">
- <property name="severity" value="warning"/>
- <property name="excludes" value="com.onarandombox.MultiverseCore.utils,com.onarandombox.MultiverseCore.configuration,com.onarandombox.MultiverseCore.commands,com.onarandombox.MultiverseCore.destination"/>
- </module>
- <module name="IllegalImport"/>
- <module name="RedundantImport"/>
- <module name="UnusedImports">
- <property name="processJavadoc" value="true"/>
- </module>
- <module name="MethodLength"/>
- <module name="ParameterNumber"/>
- <module name="EmptyForIteratorPad"/>
- <module name="MethodParamPad"/>
- <module name="NoWhitespaceAfter">
- <property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"/>
- </module>
- <module name="NoWhitespaceBefore"/>
- <module name="OperatorWrap"/>
- <module name="ParenPad"/>
- <module name="TypecastParenPad"/>
- <module name="WhitespaceAfter">
- <property name="severity" value="warning"/>
- </module>
- <module name="WhitespaceAround">
- <property name="severity" value="warning"/>
- </module>
- <module name="ModifierOrder"/>
- <module name="RedundantModifier"/>
- <module name="AvoidNestedBlocks"/>
- <module name="EmptyBlock">
- <property name="tokens" value="LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_FOR,LITERAL_TRY,LITERAL_WHILE,INSTANCE_INIT,STATIC_INIT"/>
- </module>
- <module name="LeftCurly"/>
- <module name="RightCurly"/>
- <module name="DoubleCheckedLocking"/>
- <module name="EmptyStatement"/>
- <module name="EqualsHashCode"/>
- <module name="HiddenField">
- <property name="tokens" value="VARIABLE_DEF"/><!-- We don't care if parameters hide fields. -->
- </module>
- <module name="IllegalInstantiation"/>
- <module name="InnerAssignment"/>
- <module name="MagicNumber">
- <property name="ignoreNumbers" value="-1, 0, 0.5, 1, 2, 3"/>
- </module>
- <module name="MissingSwitchDefault"/>
- <module name="RedundantThrows"/>
- <module name="SimplifyBooleanExpression"/>
- <module name="SimplifyBooleanReturn"/>
- <!-- Don't like errors for `final` missing
- <module name="DesignForExtension"/>
- <module name="FinalClass"/>
- -->
- <module name="HideUtilityClassConstructor"/>
- <module name="InterfaceIsType"/>
- <module name="VisibilityModifier">
- <property name="protectedAllowed" value="true"/>
- </module>
- <module name="ArrayTypeStyle"/>
- <!-- Don't like errors for `final` missing
- <module name="FinalParameters"/>
- -->
- <module name="TodoComment">
- <property name="severity" value="info"/>
- </module>
- <module name="UpperEll"/>
- <module name="Indentation"/>
- <module name="MissingDeprecated"/>
- <module name="MissingOverride"/>
- </module>
-</module>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ~ Multiverse 2 Copyright (c) the Multiverse Team 2011. ~
+ ~ Multiverse 2 is licensed under the BSD License. ~
+ ~ For more information please check the README.md file included ~
+ ~ with this project. ~
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+
+<!DOCTYPE module PUBLIC
+ "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
+ "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
+<!-- Future reference: valid severity values are 'ignore', 'info', 'warning', 'error' -->
+<module name="Checker">
+ <module name="JavadocPackage">
+ <property name="allowLegacy" value="true"/>
+ </module>
+ <module name="NewlineAtEndOfFile">
+ <property name="severity" value="info"/>
+ </module>
+ <module name="Translation"/>
+ <module name="FileLength"/>
+ <module name="FileTabCharacter">
+ <property name="eachLine" value="true"/>
+ </module>
+ <module name="RegexpSingleline">
+ <property name="message" value="Line has trailing spaces."/>
+ <property name="format" value="\s+$"/>
+ </module>
+ <module name="SuppressWithNearbyCommentFilter">
+ <property name="commentFormat" value="SUPPRESS CHECKSTYLE: (\w+)"/>
+ <property name="checkFormat" value="$1"/>
+ </module>
+ <module name="SuppressionCommentFilter">
+ <property name="offCommentFormat" value="BEGIN CHECKSTYLE-SUPPRESSION\: (\w+)"/>
+ <property name="onCommentFormat" value="END CHECKSTYLE-SUPPRESSION\: (\w+)"/>
+ <property name="checkFormat" value="$1"/>
+ </module>
+ <module name="SuppressionCommentFilter">
+ <property name="offCommentFormat" value="BEGIN CHECKSTYLE-SUPPRESSION\: ALL"/>
+ <property name="onCommentFormat" value="END CHECKSTYLE-SUPPRESSION\: ALL"/>
+ </module>
+ <module name="TreeWalker">
+ <!-- Make suppression possible -->
+ <module name="FileContentsHolder"/>
+ <!-- Actual checks -->
+ <module name="LineLength">
+ <property name="max" value="160"/>
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="JavadocMethod">
+ <property name="scope" value="package"/><!-- We don't need javadoc for private methods -->
+ <property name="tokens" value="METHOD_DEF"/><!-- We don't need javadoc for constructors -->
+ </module>
+ <module name="JavadocType"/>
+ <module name="JavadocVariable">
+ <property name="scope" value="package"/><!-- We don't need javadoc for private variables -->
+ </module>
+ <module name="JavadocStyle"/>
+ <module name="WriteTag">
+ <property name="tag" value="@author"/>
+ <property name="tagFormat" value="\S"/>
+ <property name="severity" value="ignore"/>
+ <property name="tagSeverity" value="warning"/>
+ </module>
+ <module name="ConstantName"/>
+ <module name="LocalVariableName"/>
+ <module name="MemberName"/>
+ <module name="MethodName"/>
+ <module name="PackageName"/>
+ <module name="ParameterName"/>
+ <module name="StaticVariableName"/>
+ <module name="TypeName"/>
+ <module name="AvoidStarImport">
+ <property name="severity" value="warning"/>
+ <property name="excludes" value="com.onarandombox.MultiverseCore.utils,com.onarandombox.MultiverseCore.configuration,com.onarandombox.MultiverseCore.commands,com.onarandombox.MultiverseCore.destination"/>
+ </module>
+ <module name="IllegalImport"/>
+ <module name="RedundantImport"/>
+ <module name="UnusedImports">
+ <property name="processJavadoc" value="true"/>
+ </module>
+ <module name="MethodLength"/>
+ <module name="ParameterNumber"/>
+ <module name="EmptyForIteratorPad"/>
+ <module name="MethodParamPad"/>
+ <module name="NoWhitespaceAfter">
+ <property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"/>
+ </module>
+ <module name="NoWhitespaceBefore"/>
+ <module name="OperatorWrap"/>
+ <module name="ParenPad"/>
+ <module name="TypecastParenPad"/>
+ <module name="WhitespaceAfter">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="WhitespaceAround">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="ModifierOrder"/>
+ <module name="RedundantModifier"/>
+ <module name="AvoidNestedBlocks"/>
+ <module name="EmptyBlock">
+ <property name="tokens" value="LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_FOR,LITERAL_TRY,LITERAL_WHILE,INSTANCE_INIT,STATIC_INIT"/>
+ </module>
+ <module name="LeftCurly"/>
+ <module name="RightCurly"/>
+ <module name="DoubleCheckedLocking"/>
+ <module name="EmptyStatement"/>
+ <module name="EqualsHashCode"/>
+ <module name="HiddenField">
+ <property name="tokens" value="VARIABLE_DEF"/><!-- We don't care if parameters hide fields. -->
+ </module>
+ <module name="IllegalInstantiation"/>
+ <module name="InnerAssignment"/>
+ <module name="MagicNumber">
+ <property name="ignoreNumbers" value="-1, 0, 0.5, 1, 2, 3"/>
+ </module>
+ <module name="MissingSwitchDefault"/>
+ <module name="RedundantThrows"/>
+ <module name="SimplifyBooleanExpression"/>
+ <module name="SimplifyBooleanReturn"/>
+ <!-- Don't like errors for `final` missing
+ <module name="DesignForExtension"/>
+ <module name="FinalClass"/>
+ -->
+ <module name="HideUtilityClassConstructor"/>
+ <module name="InterfaceIsType"/>
+ <module name="VisibilityModifier">
+ <property name="protectedAllowed" value="true"/>
+ </module>
+ <module name="ArrayTypeStyle"/>
+ <!-- Don't like errors for `final` missing
+ <module name="FinalParameters"/>
+ -->
+ <module name="TodoComment">
+ <property name="severity" value="info"/>
+ </module>
+ <module name="UpperEll"/>
+ <module name="Indentation"/>
+ <module name="MissingDeprecated"/>
+ <module name="MissingOverride"/>
+ </module>
+</module>
+
Oops, something went wrong.

0 comments on commit 21003fc

Please sign in to comment.