Skip to content

Commit a869e97

Browse files
committed
Rename to v3
1 parent fba650a commit a869e97

File tree

189 files changed

+732
-732
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+732
-732
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Compression for Java
2-
[![Maven Central](https://img.shields.io/maven-central/v/io.airlift/aircompressor.svg?label=Maven%20Central)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.airlift%22%20AND%20a%3A%22aircompressor%22)
2+
[![Maven Central](https://img.shields.io/maven-central/v/io.airlift/aircompressor-v3.svg?label=Maven%20Central)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.airlift%22%20AND%20a%3A%22aircompressor-v3%22)
33

44
This library provides a set of compression algorithms implemented in pure Java and
55
where possible native implementations. The Java implementations use `sun.misc.Unsafe`
@@ -8,8 +8,8 @@ to interact directly with native libraries without the need for JNI.
88

99
# Usage
1010

11-
Each algorithm provides a simple block compression API using the `io.airlift.compress.v2.Compressor`
12-
and `io.airlift.compress.v2.Decompressor` classes. Block compression is the simplest form of
11+
Each algorithm provides a simple block compression API using the `io.airlift.compress.v3.Compressor`
12+
and `io.airlift.compress.v3.Decompressor` classes. Block compression is the simplest form of
1313
which simply compresses a small block of data provided as a `byte[]`, or more generally a
1414
`java.lang.foreign.MemorySegment`. Each algorithm may have one or more streaming format
1515
which typically produces a sequence of block compressed chunks.
@@ -109,7 +109,7 @@ This library requires a Java 22+ virtual machine containing the `sun.misc.Unsafe
109109
Temporary directory used to unpack and load native libraries can be configured using the `aircompressor.tmpdir` system property,
110110
with a default value of `java.io.tmpdir`. This is useful when the default temporary directory is mounted as `noexec`.
111111

112-
Loading of native libraries can be disabled entirely by setting the `io.airlift.compress.v2.disable-native` system property.
112+
Loading of native libraries can be disabled entirely by setting the `io.airlift.compress.v3.disable-native` system property.
113113

114114
# Users
115115

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
</parent>
1111

1212
<groupId>io.airlift</groupId>
13-
<artifactId>aircompressor</artifactId>
14-
<version>2.1-SNAPSHOT</version>
13+
<artifactId>aircompressor-v3</artifactId>
14+
<version>3.0-SNAPSHOT</version>
1515
<packaging>jar</packaging>
1616

1717
<name>aircompressor</name>

src/main/java/io/airlift/compress/v2/Compressor.java renamed to src/main/java/io/airlift/compress/v3/Compressor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* See the License for the specific language governing permissions and
1212
* limitations under the License.
1313
*/
14-
package io.airlift.compress.v2;
14+
package io.airlift.compress.v3;
1515

1616
import java.lang.foreign.MemorySegment;
1717

src/main/java/io/airlift/compress/v2/Decompressor.java renamed to src/main/java/io/airlift/compress/v3/Decompressor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* See the License for the specific language governing permissions and
1212
* limitations under the License.
1313
*/
14-
package io.airlift.compress.v2;
14+
package io.airlift.compress.v3;
1515

1616
import java.lang.foreign.MemorySegment;
1717

src/main/java/io/airlift/compress/v2/IncompatibleJvmException.java renamed to src/main/java/io/airlift/compress/v3/IncompatibleJvmException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* See the License for the specific language governing permissions and
1212
* limitations under the License.
1313
*/
14-
package io.airlift.compress.v2;
14+
package io.airlift.compress.v3;
1515

1616
public class IncompatibleJvmException
1717
extends RuntimeException

src/main/java/io/airlift/compress/v2/MalformedInputException.java renamed to src/main/java/io/airlift/compress/v3/MalformedInputException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* See the License for the specific language governing permissions and
1212
* limitations under the License.
1313
*/
14-
package io.airlift.compress.v2;
14+
package io.airlift.compress.v3;
1515

1616
public class MalformedInputException
1717
extends RuntimeException

src/main/java/io/airlift/compress/v2/bzip2/BZip2Codec.java renamed to src/main/java/io/airlift/compress/v3/bzip2/BZip2Codec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
* See the License for the specific language governing permissions and
1212
* limitations under the License.
1313
*/
14-
package io.airlift.compress.v2.bzip2;
14+
package io.airlift.compress.v3.bzip2;
1515

16-
import io.airlift.compress.v2.hadoop.CodecAdapter;
16+
import io.airlift.compress.v3.hadoop.CodecAdapter;
1717

1818
public class BZip2Codec
1919
extends CodecAdapter

src/main/java/io/airlift/compress/v2/bzip2/BZip2Constants.java renamed to src/main/java/io/airlift/compress/v3/bzip2/BZip2Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* <keiron@aftexsw.com> to whom the Ant project is very grateful for his
1717
* great code.
1818
*/
19-
package io.airlift.compress.v2.bzip2;
19+
package io.airlift.compress.v3.bzip2;
2020

2121
/**
2222
* Base class for both the compress and decompress classes. Holds common arrays,

src/main/java/io/airlift/compress/v2/bzip2/BZip2HadoopInputStream.java renamed to src/main/java/io/airlift/compress/v3/bzip2/BZip2HadoopInputStream.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
* See the License for the specific language governing permissions and
1212
* limitations under the License.
1313
*/
14-
package io.airlift.compress.v2.bzip2;
14+
package io.airlift.compress.v3.bzip2;
1515

16-
import io.airlift.compress.v2.hadoop.HadoopInputStream;
16+
import io.airlift.compress.v3.hadoop.HadoopInputStream;
1717

1818
import java.io.BufferedInputStream;
1919
import java.io.IOException;

src/main/java/io/airlift/compress/v2/bzip2/BZip2HadoopOutputStream.java renamed to src/main/java/io/airlift/compress/v3/bzip2/BZip2HadoopOutputStream.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
* See the License for the specific language governing permissions and
1212
* limitations under the License.
1313
*/
14-
package io.airlift.compress.v2.bzip2;
14+
package io.airlift.compress.v3.bzip2;
1515

16-
import io.airlift.compress.v2.hadoop.HadoopOutputStream;
16+
import io.airlift.compress.v3.hadoop.HadoopOutputStream;
1717

1818
import java.io.IOException;
1919
import java.io.OutputStream;

0 commit comments

Comments
 (0)