diff options
Diffstat (limited to 'config-model-api/src/main/java/com/yahoo/config/application/api/FileRegistry.java')
-rw-r--r-- | config-model-api/src/main/java/com/yahoo/config/application/api/FileRegistry.java | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/config-model-api/src/main/java/com/yahoo/config/application/api/FileRegistry.java b/config-model-api/src/main/java/com/yahoo/config/application/api/FileRegistry.java index 7436b7a989a..5fdafd3f9e3 100644 --- a/config-model-api/src/main/java/com/yahoo/config/application/api/FileRegistry.java +++ b/config-model-api/src/main/java/com/yahoo/config/application/api/FileRegistry.java @@ -1,13 +1,11 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.config.application.api; +import com.yahoo.config.FileReference; + import java.nio.ByteBuffer; import java.util.List; -import com.yahoo.config.FileReference; -import com.yahoo.net.HostName; -import net.jpountz.xxhash.XXHashFactory; - /** * @author Tony Vaagenes @@ -16,21 +14,8 @@ public interface FileRegistry { FileReference addFile(String relativePath); FileReference addUri(String uri); - /** - * @deprecated Remove after 7.455 - */ - @Deprecated - default FileReference addBlob(ByteBuffer blob) { return null; } FileReference addBlob(String name, ByteBuffer blob); default FileReference addApplicationPackage() { return addFile(""); } - - /** - * Returns the name of the host which is the source of the files - * @deprecated Remove after 7.453 - */ - @Deprecated - default String fileSourceHost() { return HostName.getLocalhost(); } - List<Entry> export(); class Entry { @@ -43,15 +28,4 @@ public interface FileRegistry { } } - /** - * @deprecated Remove after 7.455 - */ - @Deprecated - static String blobName(ByteBuffer blob) { - blob.mark(); - long blobHash = XXHashFactory.fastestJavaInstance().hash64().hash(blob, 0); - blob.reset(); - return Long.toHexString(blobHash); - } - } |