From 902866f3e080103820e5e8bf0550ec01e52412c8 Mon Sep 17 00:00:00 2001 From: Peter Lawrwy Date: Thu, 3 Dec 2020 08:47:57 +0000 Subject: [PATCH] All @Deprecated members which have no comment are marked to be removed in x.22, closes https://github.com/OpenHFT/OpenHFT/issues/41 --- .../java/net/openhft/chronicle/hash/ChronicleHashBuilder.java | 2 +- .../chronicle/hash/VanillaGlobalMutableState$$Native.java | 2 +- .../hash/serialization/impl/CharSequenceSizedReader.java | 2 +- .../hash/serialization/impl/CharSequenceSizedWriter.java | 2 +- .../chronicle/hash/serialization/impl/IntegerDataAccess.java | 2 +- .../openhft/chronicle/hash/serialization/impl/WrongXxHash.java | 2 +- .../java/net/openhft/chronicle/map/ChronicleMapBuilder.java | 2 +- .../chronicle/map/ReplicatedGlobalMutableState$$Native.java | 2 +- .../java/net/openhft/chronicle/set/ChronicleSetBuilder.java | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/net/openhft/chronicle/hash/ChronicleHashBuilder.java b/src/main/java/net/openhft/chronicle/hash/ChronicleHashBuilder.java index b1585f990..994112c01 100644 --- a/src/main/java/net/openhft/chronicle/hash/ChronicleHashBuilder.java +++ b/src/main/java/net/openhft/chronicle/hash/ChronicleHashBuilder.java @@ -823,6 +823,6 @@ public interface ChronicleHashBuilder, /** * @deprecated don't use private API in the client code */ - @Deprecated + @Deprecated(/* to be removed in x.22 */) Object privateAPI(); } \ No newline at end of file diff --git a/src/main/java/net/openhft/chronicle/hash/VanillaGlobalMutableState$$Native.java b/src/main/java/net/openhft/chronicle/hash/VanillaGlobalMutableState$$Native.java index d99609e2e..b0e18cac3 100644 --- a/src/main/java/net/openhft/chronicle/hash/VanillaGlobalMutableState$$Native.java +++ b/src/main/java/net/openhft/chronicle/hash/VanillaGlobalMutableState$$Native.java @@ -29,7 +29,7 @@ import net.openhft.chronicle.values.Copyable; * {@link net.openhft.chronicle.values.Values#nativeClassFor(Class) * Values.nativeClassFor(VanillaGlobalMutableState.class)} */ -@Deprecated +@Deprecated(/* to be removed in x.22 */) public class VanillaGlobalMutableState$$Native implements VanillaGlobalMutableState, Copyable, BytesMarshallable, Byteable { private BytesStore bs; diff --git a/src/main/java/net/openhft/chronicle/hash/serialization/impl/CharSequenceSizedReader.java b/src/main/java/net/openhft/chronicle/hash/serialization/impl/CharSequenceSizedReader.java index ffd5c6ce8..6dc11b5d9 100644 --- a/src/main/java/net/openhft/chronicle/hash/serialization/impl/CharSequenceSizedReader.java +++ b/src/main/java/net/openhft/chronicle/hash/serialization/impl/CharSequenceSizedReader.java @@ -35,7 +35,7 @@ public class CharSequenceSizedReader implements SizedReader, * @deprecated use {@link #INSTANCE} as {@code CharSequenceSizedReader} is immutable and * stateless */ - @Deprecated + @Deprecated(/* to be removed in x.22 */) public CharSequenceSizedReader() { } diff --git a/src/main/java/net/openhft/chronicle/hash/serialization/impl/CharSequenceSizedWriter.java b/src/main/java/net/openhft/chronicle/hash/serialization/impl/CharSequenceSizedWriter.java index c1696cf5a..3d7faa1dd 100644 --- a/src/main/java/net/openhft/chronicle/hash/serialization/impl/CharSequenceSizedWriter.java +++ b/src/main/java/net/openhft/chronicle/hash/serialization/impl/CharSequenceSizedWriter.java @@ -27,7 +27,7 @@ import org.jetbrains.annotations.NotNull; * this class as the key or value writer should be able to read and access the map with the present * version of the library. */ -@Deprecated +@Deprecated(/* to be removed in x.22 */) @SuppressWarnings("deprecation") public final class CharSequenceSizedWriter implements SizedWriter, EnumMarshallable { diff --git a/src/main/java/net/openhft/chronicle/hash/serialization/impl/IntegerDataAccess.java b/src/main/java/net/openhft/chronicle/hash/serialization/impl/IntegerDataAccess.java index 7d8c923d7..24b37c2f7 100644 --- a/src/main/java/net/openhft/chronicle/hash/serialization/impl/IntegerDataAccess.java +++ b/src/main/java/net/openhft/chronicle/hash/serialization/impl/IntegerDataAccess.java @@ -35,7 +35,7 @@ import org.jetbrains.annotations.Nullable; * Chronicle Map library. */ @SuppressWarnings("DeprecatedIsStillUsed") -@Deprecated +@Deprecated(/* to be removed in x.22 */) public final class IntegerDataAccess extends AbstractData implements DataAccess, Data { diff --git a/src/main/java/net/openhft/chronicle/hash/serialization/impl/WrongXxHash.java b/src/main/java/net/openhft/chronicle/hash/serialization/impl/WrongXxHash.java index d3961a7d4..e2ab56f70 100644 --- a/src/main/java/net/openhft/chronicle/hash/serialization/impl/WrongXxHash.java +++ b/src/main/java/net/openhft/chronicle/hash/serialization/impl/WrongXxHash.java @@ -20,7 +20,7 @@ package net.openhft.chronicle.hash.serialization.impl; * @deprecated this class exists for compatibility with old versions of Chronicle Map, which used * wrong version of xxHash. */ -@Deprecated +@Deprecated(/* to be removed in x.22 */) public final class WrongXxHash { // xxHash constants diff --git a/src/main/java/net/openhft/chronicle/map/ChronicleMapBuilder.java b/src/main/java/net/openhft/chronicle/map/ChronicleMapBuilder.java index 044113c45..132e2b23f 100644 --- a/src/main/java/net/openhft/chronicle/map/ChronicleMapBuilder.java +++ b/src/main/java/net/openhft/chronicle/map/ChronicleMapBuilder.java @@ -529,7 +529,7 @@ public final class ChronicleMapBuilder implements * @deprecated don't use private API in the client code */ @Override - @Deprecated + @Deprecated(/* to be removed in x.22 */) public Object privateAPI() { return privateAPI; } diff --git a/src/main/java/net/openhft/chronicle/map/ReplicatedGlobalMutableState$$Native.java b/src/main/java/net/openhft/chronicle/map/ReplicatedGlobalMutableState$$Native.java index 9311fa6ca..3986dc15b 100644 --- a/src/main/java/net/openhft/chronicle/map/ReplicatedGlobalMutableState$$Native.java +++ b/src/main/java/net/openhft/chronicle/map/ReplicatedGlobalMutableState$$Native.java @@ -29,7 +29,7 @@ import net.openhft.chronicle.values.Copyable; * {@link net.openhft.chronicle.values.Values#nativeClassFor(Class) * Values.nativeClassFor(ReplicatedGlobalMutableState.class)} */ -@Deprecated +@Deprecated(/* to be removed in x.22 */) public class ReplicatedGlobalMutableState$$Native implements ReplicatedGlobalMutableState, Copyable, BytesMarshallable, Byteable { private BytesStore bs; diff --git a/src/main/java/net/openhft/chronicle/set/ChronicleSetBuilder.java b/src/main/java/net/openhft/chronicle/set/ChronicleSetBuilder.java index 3065f5574..d43b7e425 100644 --- a/src/main/java/net/openhft/chronicle/set/ChronicleSetBuilder.java +++ b/src/main/java/net/openhft/chronicle/set/ChronicleSetBuilder.java @@ -367,7 +367,7 @@ public final class ChronicleSetBuilder /** * @deprecated don't use private API in the client code */ - @Deprecated + @Deprecated(/* to be removed in x.22 */) @Override public Object privateAPI() { return privateAPI;