Commit 1bbe2dbf9d81099df6e6503bc6a2a00dbf03443c
1 parent
bbdf437a
Fix some very minor checkstyle violations
Showing
4 changed files
with
12 additions
and
7 deletions
src/client/java/com/mumfrey/liteloader/modconfig/AbstractConfigPanel.java
... | ... | @@ -105,7 +105,7 @@ public abstract class AbstractConfigPanel implements ConfigPanel |
105 | 105 | /** |
106 | 106 | * Base for config option handle structs |
107 | 107 | */ |
108 | - static abstract class ConfigOption | |
108 | + abstract static class ConfigOption | |
109 | 109 | { |
110 | 110 | void onTick() |
111 | 111 | { |
... | ... | @@ -303,7 +303,7 @@ public abstract class AbstractConfigPanel implements ConfigPanel |
303 | 303 | @Override |
304 | 304 | public ConfigTextField setRegex(String regex, boolean force) |
305 | 305 | { |
306 | - this.textField.setRegex(Pattern.compile(regex), force);; | |
306 | + this.textField.setRegex(Pattern.compile(regex), force); | |
307 | 307 | return this; |
308 | 308 | } |
309 | 309 | |
... | ... | @@ -343,7 +343,8 @@ public abstract class AbstractConfigPanel implements ConfigPanel |
343 | 343 | } |
344 | 344 | else |
345 | 345 | { |
346 | - this.setValidator((text) -> { | |
346 | + this.setValidator((text) -> | |
347 | + { | |
347 | 348 | this.validate(text); |
348 | 349 | return true; |
349 | 350 | }); | ... | ... |
src/main/java/com/mumfrey/liteloader/permissions/PermissionsManagerClient.java
... | ... | @@ -47,7 +47,7 @@ public final class PermissionsManagerClient implements PermissionsManager, Plugi |
47 | 47 | * Permissions permissible which is a proxy for permissions that are common |
48 | 48 | * to all mods. |
49 | 49 | */ |
50 | - private final static Permissible allMods = new PermissibleAllMods(); | |
50 | + private static final Permissible allMods = new PermissibleAllMods(); | |
51 | 51 | |
52 | 52 | /** |
53 | 53 | * List of registered client mods supporting permissions | ... | ... |
src/main/java/com/mumfrey/liteloader/transformers/IsolatedClassWriter.java
src/main/java/com/mumfrey/liteloader/util/jinput/ComponentRegistry.java
... | ... | @@ -98,7 +98,8 @@ public class ComponentRegistry |
98 | 98 | components.add(component); |
99 | 99 | } |
100 | 100 | |
101 | - } while (component != null && components.size() < 32); | |
101 | + } | |
102 | + while (component != null && components.size() < 32); | |
102 | 103 | |
103 | 104 | return components; |
104 | 105 | } |
... | ... | @@ -150,7 +151,8 @@ public class ComponentRegistry |
150 | 151 | controllers.add(controller); |
151 | 152 | } |
152 | 153 | |
153 | - } while (controller != null && controllers.size() < 32); | |
154 | + } | |
155 | + while (controller != null && controllers.size() < 32); | |
154 | 156 | |
155 | 157 | return controllers; |
156 | 158 | } | ... | ... |