checkstyle: enforce no whitespace at end of line
This commit is contained in:
@@ -40,6 +40,11 @@
|
|||||||
<property name="message" value="Indent must use tab characters"/>
|
<property name="message" value="Indent must use tab characters"/>
|
||||||
<property name="ignoreComments" value="true"/>
|
<property name="ignoreComments" value="true"/>
|
||||||
</module>
|
</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="WhitespaceAround"/>
|
||||||
<module name="WhitespaceAfter">
|
<module name="WhitespaceAfter">
|
||||||
<property name="tokens" value="COMMA"/>
|
<property name="tokens" value="COMMA"/>
|
||||||
|
|||||||
@@ -124,9 +124,9 @@ public interface GroundItemsConfig extends Config
|
|||||||
description = "Configures whether or not to highlight tiles containing ground items",
|
description = "Configures whether or not to highlight tiles containing ground items",
|
||||||
position = 6
|
position = 6
|
||||||
)
|
)
|
||||||
default boolean highlightTiles()
|
default boolean highlightTiles()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
|
|||||||
@@ -152,9 +152,9 @@ class ItemPricesOverlay extends Overlay
|
|||||||
ItemContainer container = null;
|
ItemContainer container = null;
|
||||||
|
|
||||||
// Inventory item
|
// Inventory item
|
||||||
if (widgetId == INVENTORY_ITEM_WIDGETID ||
|
if (widgetId == INVENTORY_ITEM_WIDGETID ||
|
||||||
widgetId == BANK_INVENTORY_ITEM_WIDGETID ||
|
widgetId == BANK_INVENTORY_ITEM_WIDGETID ||
|
||||||
widgetId == EXPLORERS_RING_ITEM_WIDGETID ||
|
widgetId == EXPLORERS_RING_ITEM_WIDGETID ||
|
||||||
widgetId == SEED_VAULT_INVENTORY_ITEM_WIDGETID)
|
widgetId == SEED_VAULT_INVENTORY_ITEM_WIDGETID)
|
||||||
{
|
{
|
||||||
container = client.getItemContainer(InventoryID.INVENTORY);
|
container = client.getItemContainer(InventoryID.INVENTORY);
|
||||||
|
|||||||
@@ -417,7 +417,7 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
name = "Essence Mine Teleport",
|
name = "Essence Mine Teleport",
|
||||||
description = "Swaps Talk-To with Teleport for NPCs which teleport you to the essence mine"
|
description = "Swaps Talk-To with Teleport for NPCs which teleport you to the essence mine"
|
||||||
)
|
)
|
||||||
default boolean swapEssenceMineTeleport()
|
default boolean swapEssenceMineTeleport()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ public class LinkBrowser
|
|||||||
*/
|
*/
|
||||||
public static void browse(final String url)
|
public static void browse(final String url)
|
||||||
{
|
{
|
||||||
new Thread(() ->
|
new Thread(() ->
|
||||||
{
|
{
|
||||||
if (Strings.isNullOrEmpty(url))
|
if (Strings.isNullOrEmpty(url))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user