-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: address IntelliJ QAPlug plugin findings (#5149)
* make final fields static * remove unnecessary local before return * remove instanceof checks in catch clause * avoid throwing java.lang.Exception * remove null checks covered by instanceof check * remove toString on String objects * remove overrides that only call their super * remove unused private methods * remove unnecessary if statement nesting * remove unused local variables * use try-with-resources to close resources after use * use equals() to compare object references * fix broken javadoc references * fix disallowed self-closing and empty javadoc elements * fix bad use of symbols in javadoc * fix disallowed list item tag in javadoc without surrounding list * fix erroneous javadoc tags * fix emphasize tags in javadoc * remove illegal throws * remove unused imports Related: Terasology/CoreRendering#75 Terasology/Furnishings#17 Terasology/Health#105 Terasology/Inventory#51 Terasology/Behaviors#114 Terasology/CoreWorlds#45 Terasology/FlexiblePathfinding#32 Adds to #3859
- Loading branch information
1 parent
8545be0
commit 1cef7c1
Showing
128 changed files
with
323 additions
and
714 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
package org.terasology.engine.core.subsystem.config; | ||
|
||
import org.terasology.engine.config.BindsConfig; | ||
import org.terasology.engine.context.Context; | ||
import org.terasology.engine.core.SimpleUri; | ||
import org.terasology.engine.input.BindAxisEvent; | ||
import org.terasology.engine.input.BindButtonEvent; | ||
|
@@ -35,14 +34,14 @@ | |
public interface BindsManager { | ||
|
||
/** | ||
* The actual binds config. This reflects the current status from {@link #updateDefaultBinds(Context)} | ||
* The actual binds config. This reflects the current status from {@link BindsManager#updateConfigWithDefaultBinds()}. | ||
* and all further modifications like modifications in the user input settings. | ||
* @return | ||
Check warning on line 39 in engine/src/main/java/org/terasology/engine/core/subsystem/config/BindsManager.java Terasology Jenkins.io / JavaDocJavaDoc @return
|
||
*/ | ||
BindsConfig getBindsConfig(); | ||
|
||
/** | ||
* The default bindings. This reflects the current status from {@link #updateDefaultBinds(Context)}. | ||
* The default bindings. This reflects the current status from {@link BindsManager#updateConfigWithDefaultBinds()}. | ||
* @return Returns the default bindings. Changes to this config modify the actual instance | ||
* but become invalid the next time {@link #updateConfigWithDefaultBinds()} is called. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.