Skip to content

Commit 4dc1ccf

Browse files
Marked COMPRESSED_BINARY for deprecation (#989)
* Marked COMPRESSED_BINARY for deprecation and suppressed deprecation warning in related test. fixes #929
1 parent c077e5f commit 4dc1ccf

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/main/java/net/openhft/chronicle/wire/WireType.java

+4
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ public <T> T fromString(@NotNull CharSequence cs) throws InvalidMarshallableExce
164164
return fromHexString(cs);
165165
}
166166
},
167+
/**
168+
* To be removed in X.29 - use BINARY_LIGHT instead
169+
*/
170+
@Deprecated
167171
COMPRESSED_BINARY {
168172
@NotNull
169173
@Override

src/test/java/net/openhft/chronicle/wire/WireDumperTest.java

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ public void preAfter() {
106106
bytes.releaseLast(); // Releasing the last bytes used
107107
}
108108

109+
@SuppressWarnings("deprecation")
109110
private void initTestData() {
110111

111112
// Adding the expected serialized output for TEXT WireType

0 commit comments

Comments
 (0)