spellbook: Final fields

This commit is contained in:
sdburns1998
2019-07-07 21:09:52 +02:00
parent a125233270
commit e87a5e95b5
2 changed files with 4 additions and 4 deletions

View File

@@ -41,9 +41,9 @@ import net.runelite.client.ui.overlay.OverlayPriority;
@Singleton @Singleton
public class SpellbookDragOverlay extends Overlay public class SpellbookDragOverlay extends Overlay
{ {
private SpellbookPlugin plugin; private final SpellbookPlugin plugin;
private Client client; private final Client client;
private SpriteManager spriteManager; private final SpriteManager spriteManager;
@Inject @Inject
private SpellbookDragOverlay(final SpellbookPlugin plugin, final Client client, final SpriteManager spriteManager) private SpellbookDragOverlay(final SpellbookPlugin plugin, final Client client, final SpriteManager spriteManager)

View File

@@ -129,7 +129,7 @@ public class SpellbookPlugin extends Plugin
@Getter @Getter
private Point draggingLocation; private Point draggingLocation;
private Map<Integer, Spell> spells = new HashMap<>(); private final Map<Integer, Spell> spells = new HashMap<>();
private Map<Integer, Spell> tmp = null; private Map<Integer, Spell> tmp = null;
private ImmutableSet<String> notFilteredSpells; private ImmutableSet<String> notFilteredSpells;
private Spellbook spellbook; private Spellbook spellbook;