From 9a87f7b7be989ef48ae64e5574eb952f2d95bce8 Mon Sep 17 00:00:00 2001 From: sdburns1998 Date: Sun, 7 Jul 2019 04:11:41 +0200 Subject: [PATCH] flexo: Use interface instead of type --- .../java/net/runelite/client/plugins/flexo/FlexoOverlay.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/flexo/FlexoOverlay.java b/runelite-client/src/main/java/net/runelite/client/plugins/flexo/FlexoOverlay.java index 811eca25bb..bb3fd371d9 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/flexo/FlexoOverlay.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/flexo/FlexoOverlay.java @@ -34,6 +34,7 @@ import java.awt.Point; import java.awt.Rectangle; import java.awt.geom.Line2D; import java.util.ArrayList; +import java.util.List; import javax.inject.Inject; import javax.inject.Singleton; import net.runelite.client.ui.overlay.Overlay; @@ -65,7 +66,7 @@ public class FlexoOverlay extends Overlay if (plugin.isDebugNPCs() || plugin.isDebugGroundItems() || plugin.isDebugPlayers()) { - ArrayList clickAreas = plugin.getClickAreas(); + List clickAreas = plugin.getClickAreas(); if (clickAreas != null) { for (Rectangle clickArea : clickAreas) @@ -77,7 +78,7 @@ public class FlexoOverlay extends Overlay } } - ArrayList clickPoints = plugin.getClickPoints(); + List clickPoints = plugin.getClickPoints(); if (clickPoints != null) { for (Point p : clickPoints)