Skip to content

Commit

Permalink
move packages to io.github.zchunk. Fixes #1.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarwell committed May 19, 2019
1 parent 346dc22 commit 041fcb0
Show file tree
Hide file tree
Showing 43 changed files with 119 additions and 119 deletions.
2 changes: 1 addition & 1 deletion compressedint/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>zchunk-parent</artifactId>
<groupId>de.bmarwell.zchunk</groupId>
<groupId>io.github.zchunk</groupId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.compressedint;
package io.github.zchunk.compressedint;

import java.math.BigInteger;
import java.util.StringJoiner;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.compressedint;
package io.github.zchunk.compressedint;

import java.math.BigInteger;
import org.immutables.value.Value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.compressedint;
package io.github.zchunk.compressedint;

import java.io.IOException;
import java.io.InputStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.compressedint;
package io.github.zchunk.compressedint;

import static java.math.BigInteger.ONE;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
*/

@Value.Style(stagedBuilder = true, jdkOnly = true)
package de.bmarwell.zchunk.compressedint;
package io.github.zchunk.compressedint;

import org.immutables.value.Value;
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.compressedint;
package io.github.zchunk.compressedint;

import java.math.BigInteger;
import java.util.Arrays;
Expand Down
4 changes: 2 additions & 2 deletions compression/compression-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>de.bmarwell.zchunk</groupId>
<groupId>io.github.zchunk</groupId>
<artifactId>zchunk-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
Expand All @@ -31,7 +31,7 @@

<dependencies>
<dependency>
<groupId>de.bmarwell.zchunk</groupId>
<groupId>io.github.zchunk</groupId>
<artifactId>compressedint</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.compression.algo.unknown;
package io.github.zchunk.compression.algo.unknown;

import de.bmarwell.zchunk.compressedint.CompressedInt;
import de.bmarwell.zchunk.compressedint.CompressedIntFactory;
import de.bmarwell.zchunk.compression.api.CompressionAlgorithm;
import io.github.zchunk.compressedint.CompressedInt;
import io.github.zchunk.compressedint.CompressedIntFactory;
import io.github.zchunk.compression.api.CompressionAlgorithm;
import java.io.InputStream;
import java.util.function.Function;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.compression.api;
package io.github.zchunk.compression.api;

import de.bmarwell.zchunk.compressedint.CompressedInt;
import io.github.zchunk.compressedint.CompressedInt;
import java.io.InputStream;
import java.util.function.Function;
import org.immutables.value.Value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.compression.api;
package io.github.zchunk.compression.api;

import static java.util.stream.Collectors.toList;
import static java.util.stream.Collectors.toMap;

import de.bmarwell.zchunk.compression.algo.unknown.UnknownAlgorithm;
import de.bmarwell.zchunk.compression.api.internal.ReflectionUtil;
import io.github.zchunk.compression.algo.unknown.UnknownAlgorithm;
import io.github.zchunk.compression.api.internal.ReflectionUtil;
import java.util.AbstractMap;
import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.compression.api.internal;
package io.github.zchunk.compression.api.internal;

import static java.util.Collections.emptyList;
import static java.util.stream.Collectors.toList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.compression.api;
package io.github.zchunk.compression.api;

import de.bmarwell.zchunk.compression.algo.unknown.UnknownAlgorithm;
import io.github.zchunk.compression.algo.unknown.UnknownAlgorithm;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ java.util.logging.ConsoleHandler.level=ALL
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.SimpleFormatter.format=[%1$tFT%1$tT.%1$tLZ] [%4$-6s] %2$s - %5$s%6$s%n
# class specific settings
de.bmarwell.zchunk.compression.level=FINER
io.github.zchunk.compression.level=FINER
# 3rd party
org.junit.platform.level=INFO
6 changes: 3 additions & 3 deletions fileformat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>zchunk-parent</artifactId>
<groupId>de.bmarwell.zchunk</groupId>
<groupId>io.github.zchunk</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand All @@ -30,14 +30,14 @@
<dependencies>
<!-- reactor modules -->
<dependency>
<groupId>de.bmarwell.zchunk</groupId>
<groupId>io.github.zchunk</groupId>
<artifactId>compressedint</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>

<!-- reactor modules -->
<dependency>
<groupId>de.bmarwell.zchunk</groupId>
<groupId>io.github.zchunk</groupId>
<artifactId>compression-api</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import java.math.BigInteger;
import java.security.MessageDigest;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import de.bmarwell.zchunk.compressedint.CompressedInt;
import io.github.zchunk.compressedint.CompressedInt;
import java.math.BigInteger;
import org.immutables.value.Value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import de.bmarwell.zchunk.compressedint.CompressedInt;
import de.bmarwell.zchunk.fileformat.util.ByteUtils;
import io.github.zchunk.compressedint.CompressedInt;
import io.github.zchunk.fileformat.util.ByteUtils;
import java.math.BigInteger;
import java.util.Arrays;
import java.util.Set;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import de.bmarwell.zchunk.fileformat.err.InvalidFileException;
import de.bmarwell.zchunk.fileformat.util.ChecksumUtil;
import io.github.zchunk.fileformat.err.InvalidFileException;
import io.github.zchunk.fileformat.util.ChecksumUtil;
import java.io.File;

public class ZChunk {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import static java.security.Security.getProviders;

import de.bmarwell.zchunk.compressedint.CompressedIntUtil;
import io.github.zchunk.compressedint.CompressedIntUtil;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.Provider.Service;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import org.immutables.value.Value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import org.immutables.value.Value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import de.bmarwell.zchunk.compressedint.CompressedInt;
import de.bmarwell.zchunk.fileformat.util.ByteUtils;
import io.github.zchunk.compressedint.CompressedInt;
import io.github.zchunk.fileformat.util.ByteUtils;
import java.util.Comparator;
import java.util.Optional;
import java.util.StringJoiner;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import static de.bmarwell.zchunk.fileformat.ZChunkConstants.Header.MAX_LEAD_SIZE;
import static io.github.zchunk.fileformat.ZChunkConstants.Header.MAX_LEAD_SIZE;
import static java.util.stream.Collectors.toConcurrentMap;

import de.bmarwell.zchunk.compressedint.CompressedInt;
import de.bmarwell.zchunk.compressedint.CompressedIntFactory;
import de.bmarwell.zchunk.compression.api.CompressionAlgorithm;
import de.bmarwell.zchunk.compression.api.CompressionAlgorithmFactory;
import de.bmarwell.zchunk.compression.api.ImmutableCompressionAlgorithm;
import de.bmarwell.zchunk.fileformat.err.InvalidFileException;
import de.bmarwell.zchunk.fileformat.parser.ZChunkIndexParser;
import de.bmarwell.zchunk.fileformat.parser.ZChunkLeadParser;
import de.bmarwell.zchunk.fileformat.parser.ZChunkPrefaceParser;
import de.bmarwell.zchunk.fileformat.util.OffsetUtil;
import io.github.zchunk.compressedint.CompressedInt;
import io.github.zchunk.compressedint.CompressedIntFactory;
import io.github.zchunk.compression.api.CompressionAlgorithm;
import io.github.zchunk.compression.api.CompressionAlgorithmFactory;
import io.github.zchunk.compression.api.ImmutableCompressionAlgorithm;
import io.github.zchunk.fileformat.err.InvalidFileException;
import io.github.zchunk.fileformat.parser.ZChunkIndexParser;
import io.github.zchunk.fileformat.parser.ZChunkLeadParser;
import io.github.zchunk.fileformat.parser.ZChunkPrefaceParser;
import io.github.zchunk.fileformat.util.OffsetUtil;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import de.bmarwell.zchunk.compressedint.CompressedInt;
import de.bmarwell.zchunk.fileformat.util.ByteUtils;
import io.github.zchunk.compressedint.CompressedInt;
import io.github.zchunk.fileformat.util.ByteUtils;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import de.bmarwell.zchunk.compressedint.CompressedInt;
import de.bmarwell.zchunk.fileformat.err.InvalidFileException;
import de.bmarwell.zchunk.fileformat.util.ByteUtils;
import io.github.zchunk.compressedint.CompressedInt;
import io.github.zchunk.fileformat.err.InvalidFileException;
import io.github.zchunk.fileformat.util.ByteUtils;
import java.util.Arrays;
import java.util.StringJoiner;
import org.immutables.value.Value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import de.bmarwell.zchunk.compressedint.CompressedInt;
import de.bmarwell.zchunk.compression.api.CompressionAlgorithm;
import de.bmarwell.zchunk.fileformat.util.ByteUtils;
import io.github.zchunk.compressedint.CompressedInt;
import io.github.zchunk.compression.api.CompressionAlgorithm;
import io.github.zchunk.fileformat.util.ByteUtils;
import java.util.List;
import java.util.Set;
import java.util.StringJoiner;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import de.bmarwell.zchunk.compressedint.CompressedInt;
import io.github.zchunk.compressedint.CompressedInt;
import org.immutables.value.Value;

@Value.Immutable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package de.bmarwell.zchunk.fileformat.err;
package io.github.zchunk.fileformat.err;

import java.io.File;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
*/

@Value.Style(stagedBuilder = true, jdkOnly = true)
package de.bmarwell.zchunk.fileformat;
package io.github.zchunk.fileformat;

import org.immutables.value.Value;
Loading

0 comments on commit 041fcb0

Please # to comment.