From 933ccd346f0a38218491e95a0c8dc28ff667db78 Mon Sep 17 00:00:00 2001 From: undisclosed Date: Sun, 08 Jan 2023 14:03:01 +0000 Subject: [PATCH] Kleinere Anpassungen --- src/de/uhilger/calypso/neu/AppProperties.java | 42 ++++++++++++++---------------------------- 1 files changed, 14 insertions(+), 28 deletions(-) diff --git a/src/de/uhilger/calypso/neu/AppProperties.java b/src/de/uhilger/calypso/neu/AppProperties.java index f80c4b8..4d32edf 100644 --- a/src/de/uhilger/calypso/neu/AppProperties.java +++ b/src/de/uhilger/calypso/neu/AppProperties.java @@ -1,20 +1,21 @@ /* - Helix - Dateiverwaltung - Copyright (C) 2021 Ulrich Hilger + Calypso - Media Player Remote Control via HTTP for Raspberry Pi + Copyright (C) 2021-2023 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 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. + 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/>. - */ + 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.calypso.neu; import java.io.File; @@ -59,20 +60,8 @@ Logger.getLogger(AppProperties.class.getName()).log(Level.INFO, fName); InputStream in = null; try { - // Einstellungen aus Datei lesen - //AppProperties einst = new AppProperties(); File einstellungenDatei = new File(fName); in = new FileInputStream(einstellungenDatei); - - //BufferedReader br = new BufferedReader(new InputStreamReader(in)); - //String line = br.readLine(); - //while(line != null) { - // System.out.println(line); - // line = br.readLine(); - //} - //br.close(); - - load(in); in.close(); } catch (FileNotFoundException ex) { @@ -86,8 +75,5 @@ Logger.getLogger(AppProperties.class.getName()).log(Level.SEVERE, null, ex); } } - - } - } -- Gitblit v1.9.3