diff options
author | LexManos <LexManos@gmail.com> | 2021-01-17 17:35:01 -0800 |
---|---|---|
committer | LexManos <LexManos@gmail.com> | 2021-01-17 17:40:39 -0800 |
commit | 4089917696fffbd4b818fb90958d20f0714f93fb (patch) | |
tree | 1f5de4972d9afe0328d7d0ce929aac06c3bca15e /src/shared/java | |
parent | 631cd05e726092c51e95b52bb8a8bb6a2ae2cc42 (diff) | |
download | Artifactural-4089917696fffbd4b818fb90958d20f0714f93fb.tar.gz Artifactural-4089917696fffbd4b818fb90958d20f0714f93fb.tar.bz2 Artifactural-4089917696fffbd4b818fb90958d20f0714f93fb.zip |
Move to net.minecraftforge package, and update license headers.
Diffstat (limited to 'src/shared/java')
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/artifact/ArtifactBase.java (renamed from src/shared/java/com/amadornes/artifactural/base/artifact/ArtifactBase.java) | 16 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/artifact/SimpleArtifactIdentifier.java (renamed from src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactIdentifier.java) | 6 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/artifact/SimpleArtifactMetadata.java (renamed from src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactMetadata.java) | 8 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/artifact/StreamableArtifact.java (renamed from src/shared/java/com/amadornes/artifactural/base/artifact/StreamableArtifact.java) | 18 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/cache/ArtifactCacheBase.java (renamed from src/shared/java/com/amadornes/artifactural/base/cache/ArtifactCacheBase.java) | 20 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/cache/LocatedArtifactCache.java (renamed from src/shared/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java) | 10 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/repository/ArtifactProviderBuilder.java (renamed from src/shared/java/com/amadornes/artifactural/base/repository/ArtifactProviderBuilder.java) | 10 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/repository/SimpleRepository.java (renamed from src/shared/java/com/amadornes/artifactural/base/repository/SimpleRepository.java) | 12 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/util/HashFunction.java (renamed from src/shared/java/com/amadornes/artifactural/base/util/HashFunction.java) | 4 | ||||
-rw-r--r-- | src/shared/java/net/minecraftforge/artifactural/base/util/PatternReplace.java (renamed from src/shared/java/com/amadornes/artifactural/base/util/PatternReplace.java) | 4 |
10 files changed, 54 insertions, 54 deletions
diff --git a/src/shared/java/com/amadornes/artifactural/base/artifact/ArtifactBase.java b/src/shared/java/net/minecraftforge/artifactural/base/artifact/ArtifactBase.java index 0eaa66d..ddcc8a5 100644 --- a/src/shared/java/com/amadornes/artifactural/base/artifact/ArtifactBase.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/artifact/ArtifactBase.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,14 +17,14 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.artifact; +package net.minecraftforge.artifactural.base.artifact; -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.artifact.ArtifactMetadata; -import com.amadornes.artifactural.api.artifact.ArtifactType; -import com.amadornes.artifactural.api.cache.ArtifactCache; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; -import com.amadornes.artifactural.api.transform.ArtifactTransformer; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.api.artifact.ArtifactMetadata; +import net.minecraftforge.artifactural.api.artifact.ArtifactType; +import net.minecraftforge.artifactural.api.cache.ArtifactCache; +import net.minecraftforge.artifactural.api.transform.ArtifactTransformer; public abstract class ArtifactBase implements Artifact { diff --git a/src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactIdentifier.java b/src/shared/java/net/minecraftforge/artifactural/base/artifact/SimpleArtifactIdentifier.java index f0a4189..5ab60f6 100644 --- a/src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactIdentifier.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/artifact/SimpleArtifactIdentifier.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,9 +17,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.artifact; +package net.minecraftforge.artifactural.base.artifact; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; public class SimpleArtifactIdentifier implements ArtifactIdentifier { diff --git a/src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactMetadata.java b/src/shared/java/net/minecraftforge/artifactural/base/artifact/SimpleArtifactMetadata.java index a42894b..21a1f20 100644 --- a/src/shared/java/com/amadornes/artifactural/base/artifact/SimpleArtifactMetadata.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/artifact/SimpleArtifactMetadata.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,9 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.artifact; - -import com.amadornes.artifactural.api.artifact.ArtifactMetadata; +package net.minecraftforge.artifactural.base.artifact; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; @@ -27,6 +25,8 @@ import java.util.LinkedList; import java.util.List; import java.util.stream.Collectors; +import net.minecraftforge.artifactural.api.artifact.ArtifactMetadata; + public class SimpleArtifactMetadata implements ArtifactMetadata { private final List<Entry> entries = new LinkedList<>(); diff --git a/src/shared/java/com/amadornes/artifactural/base/artifact/StreamableArtifact.java b/src/shared/java/net/minecraftforge/artifactural/base/artifact/StreamableArtifact.java index e43b7c9..0428572 100644 --- a/src/shared/java/com/amadornes/artifactural/base/artifact/StreamableArtifact.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/artifact/StreamableArtifact.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,14 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.artifact; - -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; -import com.amadornes.artifactural.api.artifact.ArtifactMetadata; -import com.amadornes.artifactural.api.artifact.ArtifactType; -import com.amadornes.artifactural.api.artifact.MissingArtifactException; -import com.amadornes.artifactural.api.artifact.Streamable; +package net.minecraftforge.artifactural.base.artifact; import java.io.ByteArrayInputStream; import java.io.File; @@ -33,6 +26,13 @@ import java.io.IOException; import java.io.InputStream; import java.net.URL; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.api.artifact.ArtifactMetadata; +import net.minecraftforge.artifactural.api.artifact.ArtifactType; +import net.minecraftforge.artifactural.api.artifact.MissingArtifactException; +import net.minecraftforge.artifactural.api.artifact.Streamable; + public class StreamableArtifact extends ArtifactBase { public static Artifact ofFile(ArtifactIdentifier identifier, ArtifactType type, File file) { diff --git a/src/shared/java/com/amadornes/artifactural/base/cache/ArtifactCacheBase.java b/src/shared/java/net/minecraftforge/artifactural/base/cache/ArtifactCacheBase.java index 08a2840..3268871 100644 --- a/src/shared/java/com/amadornes/artifactural/base/cache/ArtifactCacheBase.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/cache/ArtifactCacheBase.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,16 +17,16 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.cache; +package net.minecraftforge.artifactural.base.cache; -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; -import com.amadornes.artifactural.api.artifact.ArtifactMetadata; -import com.amadornes.artifactural.api.artifact.ArtifactType; -import com.amadornes.artifactural.api.artifact.MissingArtifactException; -import com.amadornes.artifactural.api.cache.ArtifactCache; -import com.amadornes.artifactural.api.transform.ArtifactTransformer; -import com.amadornes.artifactural.base.artifact.StreamableArtifact; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.api.artifact.ArtifactMetadata; +import net.minecraftforge.artifactural.api.artifact.ArtifactType; +import net.minecraftforge.artifactural.api.artifact.MissingArtifactException; +import net.minecraftforge.artifactural.api.cache.ArtifactCache; +import net.minecraftforge.artifactural.api.transform.ArtifactTransformer; +import net.minecraftforge.artifactural.base.artifact.StreamableArtifact; import java.io.File; import java.io.FileInputStream; diff --git a/src/shared/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java b/src/shared/java/net/minecraftforge/artifactural/base/cache/LocatedArtifactCache.java index 0aeab9c..5627b50 100644 --- a/src/shared/java/com/amadornes/artifactural/base/cache/LocatedArtifactCache.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/cache/LocatedArtifactCache.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,11 +17,11 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.cache; +package net.minecraftforge.artifactural.base.cache; -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; -import com.amadornes.artifactural.base.util.PatternReplace; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.base.util.PatternReplace; import java.io.File; import java.util.AbstractMap; diff --git a/src/shared/java/com/amadornes/artifactural/base/repository/ArtifactProviderBuilder.java b/src/shared/java/net/minecraftforge/artifactural/base/repository/ArtifactProviderBuilder.java index 638ed9d..282f9b4 100644 --- a/src/shared/java/com/amadornes/artifactural/base/repository/ArtifactProviderBuilder.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/repository/ArtifactProviderBuilder.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,16 +17,16 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.repository; - -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.repository.ArtifactProvider; +package net.minecraftforge.artifactural.base.repository; import java.util.HashSet; import java.util.Set; import java.util.function.Function; import java.util.function.Predicate; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.repository.ArtifactProvider; + public class ArtifactProviderBuilder<S, I> implements ArtifactProvider.Builder<S, I> { public static <I> ArtifactProviderBuilder<I, I> begin(Class<I> type) { diff --git a/src/shared/java/com/amadornes/artifactural/base/repository/SimpleRepository.java b/src/shared/java/net/minecraftforge/artifactural/base/repository/SimpleRepository.java index 060780a..3076b08 100644 --- a/src/shared/java/com/amadornes/artifactural/base/repository/SimpleRepository.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/repository/SimpleRepository.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,12 +17,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.repository; +package net.minecraftforge.artifactural.base.repository; -import com.amadornes.artifactural.api.artifact.Artifact; -import com.amadornes.artifactural.api.artifact.ArtifactIdentifier; -import com.amadornes.artifactural.api.repository.ArtifactProvider; -import com.amadornes.artifactural.api.repository.Repository; +import net.minecraftforge.artifactural.api.artifact.Artifact; +import net.minecraftforge.artifactural.api.artifact.ArtifactIdentifier; +import net.minecraftforge.artifactural.api.repository.ArtifactProvider; +import net.minecraftforge.artifactural.api.repository.Repository; public class SimpleRepository implements Repository { diff --git a/src/shared/java/com/amadornes/artifactural/base/util/HashFunction.java b/src/shared/java/net/minecraftforge/artifactural/base/util/HashFunction.java index 9fe4ea9..bcf00f9 100644 --- a/src/shared/java/com/amadornes/artifactural/base/util/HashFunction.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/util/HashFunction.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,7 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.util; +package net.minecraftforge.artifactural.base.util; import java.io.File; import java.io.FileInputStream; diff --git a/src/shared/java/com/amadornes/artifactural/base/util/PatternReplace.java b/src/shared/java/net/minecraftforge/artifactural/base/util/PatternReplace.java index e81bd36..6d3cf86 100644 --- a/src/shared/java/com/amadornes/artifactural/base/util/PatternReplace.java +++ b/src/shared/java/net/minecraftforge/artifactural/base/util/PatternReplace.java @@ -1,6 +1,6 @@ /* * Artifactural - * Copyright (c) 2018. + * Copyright (c) 2018-2021. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,7 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -package com.amadornes.artifactural.base.util; +package net.minecraftforge.artifactural.base.util; import java.util.Map; |