move project stuff again
[jSite2.git] / src / net / pterodactylus / jsite / main / Main.java
index 151c6b1..f2fa92b 100644 (file)
@@ -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<LookAndFeelInfo> allLookAndFeelInfos = Arrays.asList(UIManager.getInstalledLookAndFeels());
+               List<LookAndFeelInfo> allLookAndFeelInfos = new ArrayList<LookAndFeelInfo>(Arrays.asList(UIManager.getInstalledLookAndFeels()));
                for (LookAndFeelInfo lookAndFeelInfo: lookAndFeelInfos) {
                        try {
                                Class.forName(lookAndFeelInfo.getClassName());