Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
apache-commons-compress.28016
0001-Remove-Brotli-compressor.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Remove-Brotli-compressor.patch of Package apache-commons-compress.28016
From bba585e9e4fdfc67de3b53b58b8d60923e1ccd0c Mon Sep 17 00:00:00 2001 From: Michael Simacek <msimacek@redhat.com> Date: Mon, 12 Feb 2018 10:53:48 +0100 Subject: [PATCH 1/2] Remove Brotli compressor --- .../commons/compress/compressors/CompressorStreamFactory.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java index d730b9d..ab178a9 100644 --- a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java +++ b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java @@ -31,8 +31,6 @@ import java.util.Set; import java.util.SortedMap; import java.util.TreeMap; -import org.apache.commons.compress.compressors.brotli.BrotliCompressorInputStream; -import org.apache.commons.compress.compressors.brotli.BrotliUtils; import org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream; import org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream; import org.apache.commons.compress.compressors.deflate.DeflateCompressorInputStream; @@ -586,10 +584,7 @@ public class CompressorStreamFactory implements CompressorStreamProvider { } if (BROTLI.equalsIgnoreCase(name)) { - if (!BrotliUtils.isBrotliCompressionAvailable()) { - throw new CompressorException("Brotli compression is not available." + YOU_NEED_BROTLI_DEC); - } - return new BrotliCompressorInputStream(in); + throw new CompressorException("Brotli compression is not available in this build."); } if (XZ.equalsIgnoreCase(name)) { -- 2.14.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor