- Some CheckStyle corrections related to the use of "final".

This commit is contained in:
Agetian
2012-11-11 15:28:05 +00:00
parent 32a1a6fc95
commit df0dafc6ff

View File

@@ -174,7 +174,7 @@ public final class GuiUtils {
* @param methodName   String, part of the custom exception message.
* @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();
if (!isEDT && mustBeEDT) {
@@ -205,7 +205,7 @@ public final class GuiUtils {
* @param c
* a card to be highlighted
*/
public static void setPanelSelection(Card c) {
public static void setPanelSelection(final Card c) {
mainLoop:
for (VField v : VMatchUI.SINGLETON_INSTANCE.getFieldViews()) {
List<CardPanel> panels = v.getTabletop().getCardPanels();