checkstyle: enforce no whitespace at end of line

This commit is contained in:
Adam
2020-03-17 16:03:34 -04:00
parent ba013c19b6
commit 770f35aceb
5 changed files with 13 additions and 8 deletions

View File

@@ -40,6 +40,11 @@
<property name="message" value="Indent must use tab characters"/>
<property name="ignoreComments" value="true"/>
</module>
<module name="RegexpSinglelineJava">
<property name="format" value="[^\s]\s+$"/>
<property name="message" value="No trailing whitespace"/>
<property name="ignoreComments" value="true"/>
</module>
<module name="WhitespaceAround"/>
<module name="WhitespaceAfter">
<property name="tokens" value="COMMA"/>

View File

@@ -124,9 +124,9 @@ public interface GroundItemsConfig extends Config
description = "Configures whether or not to highlight tiles containing ground items",
position = 6
)
default boolean highlightTiles()
{
return false;
default boolean highlightTiles()
{
return false;
}
@ConfigItem(

View File

@@ -152,9 +152,9 @@ class ItemPricesOverlay extends Overlay
ItemContainer container = null;
// Inventory item
if (widgetId == INVENTORY_ITEM_WIDGETID ||
widgetId == BANK_INVENTORY_ITEM_WIDGETID ||
widgetId == EXPLORERS_RING_ITEM_WIDGETID ||
if (widgetId == INVENTORY_ITEM_WIDGETID ||
widgetId == BANK_INVENTORY_ITEM_WIDGETID ||
widgetId == EXPLORERS_RING_ITEM_WIDGETID ||
widgetId == SEED_VAULT_INVENTORY_ITEM_WIDGETID)
{
container = client.getItemContainer(InventoryID.INVENTORY);

View File

@@ -417,7 +417,7 @@ public interface MenuEntrySwapperConfig extends Config
name = "Essence Mine Teleport",
description = "Swaps Talk-To with Teleport for NPCs which teleport you to the essence mine"
)
default boolean swapEssenceMineTeleport()
default boolean swapEssenceMineTeleport()
{
return false;
}

View File

@@ -52,7 +52,7 @@ public class LinkBrowser
*/
public static void browse(final String url)
{
new Thread(() ->
new Thread(() ->
{
if (Strings.isNullOrEmpty(url))
{