public void saveProperties() {
        FileOutputStream outputStream = null;

        try {
            outputStream = new FileOutputStream(this.file);
            this.properties.store(outputStream, "MaintenanceServer Properties");
        } catch (IOException e) {
            MaintenanceServer.LOGGER.warning("Failed to save " + this.getFile());
        } finally {
            if (outputStream != null) {
                try {
                    outputStream.close();
                } catch (IOException e) {
                    // Swallow
                }
            }
        }
    }