#vulnerable code 
                                public static PublicSuffixMatcher load(final URL url) throws IOException {
        Args.notNull(url, "URL");
        final InputStream in = url.openStream();
        try {
            final PublicSuffixList list = new PublicSuffixListParser().parse(
                    new InputStreamReader(in, Consts.UTF_8));
            return new PublicSuffixMatcher(list.getRules(), list.getExceptions());
        } finally {
            in.close();
        }
    } 
                            #location 5 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                public static PublicSuffixMatcher load(final URL url) throws IOException {
        Args.notNull(url, "URL");
        final InputStream in = url.openStream();
        try {
            return load(in);
        } finally {
            in.close();
        }
    }