mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Some CheckStyle corrections related to the use of "final".
This commit is contained in:
@@ -174,7 +174,7 @@ public final class GuiUtils {
|
|||||||
* @param methodName   String, part of the custom exception message.
|
* @param methodName   String, part of the custom exception message.
|
||||||
* @param mustBeEDT   boolean: true = exception if not EDT, false = exception if EDT
|
* @param mustBeEDT   boolean: true = exception if not EDT, false = exception if EDT
|
||||||
*/
|
*/
|
||||||
public static void checkEDT(String methodName, boolean mustBeEDT) {
|
public static void checkEDT(final String methodName, final boolean mustBeEDT) {
|
||||||
boolean isEDT = SwingUtilities.isEventDispatchThread();
|
boolean isEDT = SwingUtilities.isEventDispatchThread();
|
||||||
|
|
||||||
if (!isEDT && mustBeEDT) {
|
if (!isEDT && mustBeEDT) {
|
||||||
@@ -205,7 +205,7 @@ public final class GuiUtils {
|
|||||||
* @param c
|
* @param c
|
||||||
* a card to be highlighted
|
* a card to be highlighted
|
||||||
*/
|
*/
|
||||||
public static void setPanelSelection(Card c) {
|
public static void setPanelSelection(final Card c) {
|
||||||
mainLoop:
|
mainLoop:
|
||||||
for (VField v : VMatchUI.SINGLETON_INSTANCE.getFieldViews()) {
|
for (VField v : VMatchUI.SINGLETON_INSTANCE.getFieldViews()) {
|
||||||
List<CardPanel> panels = v.getTabletop().getCardPanels();
|
List<CardPanel> panels = v.getTabletop().getCardPanels();
|
||||||
|
|||||||
Reference in New Issue
Block a user