All final strings became static - it will give a little perfomance boost, due to not instantiating same string every time

This commit is contained in:
vraskulin 2017-02-27 16:33:32 +03:00
parent 26ce8e0bcc
commit af3986df46
46 changed files with 56 additions and 56 deletions

View file

@ -26,7 +26,7 @@ public class MageRoundPane extends JPanel {
private int Y_OFFSET = 30;
private final Color defaultBackgroundColor = new Color(141, 130, 112, 200);
private Color backgroundColor = defaultBackgroundColor;
private final int alpha = 0;
private static final int alpha = 0;
private static final Map<ShadowKey, BufferedImage> SHADOW_IMAGE_CACHE;
private static final Map<Key, BufferedImage> IMAGE_CACHE;