mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-13 21:13:53 +00:00
Javadoc and Formatting fixes. (#619)
Javadoc and Formatting fixes. Also, extremely minor code changes which have been tested. This commit is only part one of two commits that aim to fix problems with formatting in our project. In part two I will modify the Google Java Style Guide (since it closely matches our code style) for our project so there is guidance on how to format and document. * Updated PlotSquared URL * Removed plugin acronyms * Fixed a typo * Fixed grammar * Use modern block id's * Update YouTube video URL
This commit is contained in:
@ -10,4 +10,13 @@
|
||||
<suppress files=".*[\\/]TracedEditSession.java" checks="NoFinalizer"/>
|
||||
<!-- None of the old command stuff really matters -->
|
||||
<suppress files=".*[\\/]minecraft[\\/]util[\\/]commands[\\/].*\.java" checks=".*"/>
|
||||
<!-- FAWE ADDITIONS -->
|
||||
<suppress files=".*[\\/]MathMan.java" checks="MethodName"/>
|
||||
<suppress files=".*[\\/]net[\\/]jpountz[\\/]lz4[\\/].*\.java" checks=".*"/>
|
||||
<suppress files=".*[\\/]BufferedRandomAccessFile.java" checks=".*"/>
|
||||
<suppress files=".*[\\/]ByteBufferUtils.java" checks="NoWhitespaceBefore"/>
|
||||
<suppress files=".*[\\/]Settings.java" checks="MemberName"/>
|
||||
<suppress files=".*[\\/]FaweLimit.java" checks="MemberName"/>
|
||||
<suppress files=".*[\\/]SimplexNoise.java" checks="MemberName"/>
|
||||
<suppress files=".*[\\/]SparseBitSet.java" checks=".*"/>
|
||||
</suppressions>
|
||||
|
@ -96,6 +96,7 @@ Checks based on Google Checks, modified for EngineHub.
|
||||
value="Member name ''{0}'' must match pattern ''{1}''."/>
|
||||
</module>
|
||||
<module name="ParameterName">
|
||||
<property name="severity" value="warning"/>
|
||||
<property name="format" value="^([a-z][a-z0-9][_a-zA-Z0-9]*|[a-z])$"/>
|
||||
<message key="name.invalidPattern"
|
||||
value="Parameter name ''{0}'' must match pattern ''{1}''."/>
|
||||
@ -106,6 +107,7 @@ Checks based on Google Checks, modified for EngineHub.
|
||||
value="Class type name ''{0}'' must match pattern ''{1}''."/>
|
||||
</module>
|
||||
<module name="MethodTypeParameterName">
|
||||
<property name="severity" value="warning"/>
|
||||
<property name="format" value="(^[A-Z][0-9]?)$|(^[A-Z][a-zA-Z0-9]*$)"/>
|
||||
<message key="name.invalidPattern"
|
||||
value="Method type name ''{0}'' must match pattern ''{1}''."/>
|
||||
@ -186,6 +188,7 @@ Checks based on Google Checks, modified for EngineHub.
|
||||
<module name="CommentsIndentation"/>
|
||||
<!-- Validate String.to(Lower|Upper)Case() calls include Locale argument -->
|
||||
<module name="Regexp">
|
||||
<property name="severity" value="warning"/>
|
||||
<property name="message" value="Case-conversion calls must include an explicit Locale"/>
|
||||
<property name="format" value="(?!Character)\.to(Lower|Upper)Case\(\)"/>
|
||||
<property name="illegalPattern" value="true"/>
|
||||
|
Reference in New Issue
Block a user