public void load(Reader reader) {
        Scanner scanner = new Scanner(reader);
        try {
            load(scanner);
        } finally {
            try {
                scanner.close();
            } catch (Exception e) {
                LOGGER.debug("Unable to cleanly close the InputStream scanner.  Non-critical - ignoring.", e);
            }
        }
    }
Loads the INI-formatted text backed by the given Reader into this instance.  This implementation will close the
reader after it has finished loading.

@param reader the {@code Reader} from which to read the INI-formatted text
config/core/src/main/java/org/apache/shiro/config/Ini.java