From 8287036997695e731d68d380834cd63919a7a80e Mon Sep 17 00:00:00 2001
From: ulrich
Date: Mon, 10 Jan 2022 16:11:28 +0000
Subject: [PATCH] Nicht benoetigte Klassen entfernt

---
 /dev/null                        |   27 ---------------------------
 src/de/uhilger/tango/App.java    |    1 -
 src/de/uhilger/tango/Server.java |    2 +-
 3 files changed, 1 insertions(+), 29 deletions(-)

diff --git a/src/de/uhilger/tango/App.java b/src/de/uhilger/tango/App.java
index 47b1a7c..8cef83f 100644
--- a/src/de/uhilger/tango/App.java
+++ b/src/de/uhilger/tango/App.java
@@ -20,7 +20,6 @@
 import java.io.File;
 import java.io.IOException;
 import java.util.HashMap;
-import java.util.Map;
 import java.util.ResourceBundle;
 import java.util.logging.Level;
 import java.util.logging.Logger;
diff --git a/src/de/uhilger/tango/Initialiser.java b/src/de/uhilger/tango/Initialiser.java
deleted file mode 100644
index cf1e265..0000000
--- a/src/de/uhilger/tango/Initialiser.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
-  Tango - Personal Media Center
-  Copyright (C) 2021  Ulrich Hilger
-
-  This program is free software: you can redistribute it and/or modify
-  it under the terms of the GNU Affero General Public License as
-  published by the Free Software Foundation, either version 3 of the
-  License, or (at your option) any later version.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU Affero General Public License for more details.
-
-  You should have received a copy of the GNU Affero General Public License
-  along with this program.  If not, see <https://www.gnu.org/licenses/>.
- */
-package de.uhilger.tango;
-
-/**
- * Der Initialiser sorgt fur die Herstellung der Rahmenbedingungen fuer 
- * die Ausfuehrung der App.
- * 
- * @todo Alle Initialisierungsschritte aus der Kalss App hierher uebertragen
- * 
- * @author Ulrich Hilger
- * @version 1, 10.4.2021
- */
-public class Initialiser {
-  
-  
-}
diff --git a/src/de/uhilger/tango/Mediazentrale.java b/src/de/uhilger/tango/Mediazentrale.java
deleted file mode 100644
index 04511d7..0000000
--- a/src/de/uhilger/tango/Mediazentrale.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
-  Tango - Personal Media Center
-  Copyright (C) 2021  Ulrich Hilger
-
-  This program is free software: you can redistribute it and/or modify
-  it under the terms of the GNU Affero General Public License as
-  published by the Free Software Foundation, either version 3 of the
-  License, or (at your option) any later version.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU Affero General Public License for more details.
-
-  You should have received a copy of the GNU Affero General Public License
-  along with this program.  If not, see <https://www.gnu.org/licenses/>.
- */
-package de.uhilger.tango;
-
-/**
- *
- * @author Ulrich Hilger
- * @version 1, 10.4.2021
- */
-public class Mediazentrale {
-  
-}
diff --git a/src/de/uhilger/tango/Server.java b/src/de/uhilger/tango/Server.java
index d356c0f..88be4db 100644
--- a/src/de/uhilger/tango/Server.java
+++ b/src/de/uhilger/tango/Server.java
@@ -123,7 +123,7 @@
     server.createContext(ctx + rb.getString(RB_ALIST), new ListHandler(conf));
     server.createContext(ctx + rb.getString(RB_STOP_SERVER), new StopServerHandler());
     //server.setExecutor(Executors.newFixedThreadPool(20));
-    server.setExecutor(Executors.newCachedThreadPool());
+    server.setExecutor(Executors.newFixedThreadPool(5));
     server.start();
   }
   

--
Gitblit v1.9.3