Made utility classes final to explicitly forbid it's inheritance

This commit is contained in:
vraskulin 2017-02-27 17:03:38 +03:00
parent f309717616
commit 498c8cf60c
80 changed files with 83 additions and 83 deletions

View file

@ -57,7 +57,7 @@ public final class CollectionViewerPanel extends JPanel {
private static final Logger logger = Logger.getLogger(CollectionViewerPanel.class);
protected static final String LAYOYT_CONFIG_KEY = "collectionViewerLayoutConfig";
protected static final String FORMAT_CONFIG_KEY = "collectionViewerFormat";
private static final String FORMAT_CONFIG_KEY = "collectionViewerFormat";
public CollectionViewerPanel() {
initComponents();

View file

@ -346,7 +346,7 @@ public class MageBook extends JComponent {
/**
* Defines the position of the next card on the mage book
*/
private static class CardPosition {
private static final class CardPosition {
private CardPosition() {
}

View file

@ -37,7 +37,7 @@ import mage.view.CardView;
*
* @author nantuko
*/
public class CardHelper {
public final class CardHelper {
private CardHelper() {
}