mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-19 10:25:00 +00:00
Add checkstyle validation for formatting, fix issues
This commit is contained in:
parent
1e51bebc46
commit
b1c042b196
@ -53,5 +53,13 @@
|
|||||||
<!-- <module name="PackageName"/> Unlikely that we would miss this in a PR -->
|
<!-- <module name="PackageName"/> Unlikely that we would miss this in a PR -->
|
||||||
<module name="ParameterName"/>
|
<module name="ParameterName"/>
|
||||||
<!-- <module name="TypeName"/> Unlikely that we would miss this in a PR -->
|
<!-- <module name="TypeName"/> Unlikely that we would miss this in a PR -->
|
||||||
|
<!-- Validate assignment operators -->
|
||||||
|
<module name="WhitespaceAround">
|
||||||
|
<property name="tokens" value="ASSIGN"/>
|
||||||
|
</module>
|
||||||
|
</module>
|
||||||
|
<!-- Validate that command annotations are formatted correctly -->
|
||||||
|
<module name="RegexpMultiline">
|
||||||
|
<property name="format" value="^( +)@(Arg|Switch|Command)\(.*?\n\1 {5,}"/>
|
||||||
</module>
|
</module>
|
||||||
</module>
|
</module>
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
|
|
||||||
package com.sk89q.worldedit.command;
|
package com.sk89q.worldedit.command;
|
||||||
|
|
||||||
import static com.sk89q.worldedit.command.util.Logging.LogMode.REGION;
|
|
||||||
|
|
||||||
import com.sk89q.worldedit.EditSession;
|
import com.sk89q.worldedit.EditSession;
|
||||||
import com.sk89q.worldedit.LocalSession;
|
import com.sk89q.worldedit.LocalSession;
|
||||||
import com.sk89q.worldedit.WorldEdit;
|
import com.sk89q.worldedit.WorldEdit;
|
||||||
@ -59,6 +57,8 @@ import java.util.Objects;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
|
import static com.sk89q.worldedit.command.util.Logging.LogMode.REGION;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements biome-related commands such as "/biomelist".
|
* Implements biome-related commands such as "/biomelist".
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user