X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fmain%2FMain.java;h=2552260d7115c2e795a1e350687d18044b70dc95;hb=f33c078012fd2c8683a5253e7c9cfffb460d7fcb;hp=8f25230a1ea61543d2c68bb254529763ccbab445;hpb=10b165ebaa51eccec487500b32f0c7b3106923af;p=jSite2.git diff --git a/src/net/pterodactylus/jsite/main/Main.java b/src/net/pterodactylus/jsite/main/Main.java index 8f25230..2552260 100644 --- a/src/net/pterodactylus/jsite/main/Main.java +++ b/src/net/pterodactylus/jsite/main/Main.java @@ -20,6 +20,7 @@ package net.pterodactylus.jsite.main; import java.io.File; +import java.util.ArrayList; import java.util.Arrays; import java.util.List; @@ -37,7 +38,6 @@ import net.pterodactylus.util.logging.Logging; * Main class that is called by the VM. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class Main { @@ -105,7 +105,7 @@ public class Main { * The look & feels to add */ private void addLookAndFeels(LookAndFeelInfo... lookAndFeelInfos) { - List allLookAndFeelInfos = Arrays.asList(UIManager.getInstalledLookAndFeels()); + List allLookAndFeelInfos = new ArrayList(Arrays.asList(UIManager.getInstalledLookAndFeels())); for (LookAndFeelInfo lookAndFeelInfo: lookAndFeelInfos) { try { Class.forName(lookAndFeelInfo.getClassName());