renombrar variable

This commit is contained in:
Isidoro Nevares Martín
2026-10-08 21:54:17 +02:00
parent f49e2e3e35
commit 79de79886a
@@ -16,7 +16,7 @@ import java.util.Properties;
*/ */
public class GestorConfiguracion { public class GestorConfiguracion {
private static final String RUTA_CONFIGURACION = "config/application.properties"; private static final String RUTA_FICHERO_CONFIGURACION = "config/application.properties";
private static final Properties PROPIEDADES_CONFIGURACION = new Properties(); private static final Properties PROPIEDADES_CONFIGURACION = new Properties();
// Constructor privado: de esta manera conseguimos que esta clase no se puede instanciar. // Constructor privado: de esta manera conseguimos que esta clase no se puede instanciar.
@@ -24,7 +24,7 @@ public class GestorConfiguracion {
// Este bloque se ejecuta una sola vez, cuando se carga la clase GestorConfiguracion // Este bloque se ejecuta una sola vez, cuando se carga la clase GestorConfiguracion
static { static {
try (FileInputStream fichero = new FileInputStream(RUTA_CONFIGURACION)) { try (FileInputStream fichero = new FileInputStream(RUTA_FICHERO_CONFIGURACION)) {
PROPIEDADES_CONFIGURACION.load(fichero); PROPIEDADES_CONFIGURACION.load(fichero);