Skip to content

Commit 7b8a7d3

Browse files
committed
Added deprecation warning to legacy recorder
1 parent 7a9b77e commit 7b8a7d3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/main/java/com/github/tomakehurst/wiremock/stubbing/StubMappingJsonRecorder.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
import java.util.UUID;
3434
import java.util.stream.Collectors;
3535

36+
/**
37+
* @deprecated this is the legacy recorder and will be removed before 3.x is out of beta
38+
*/
39+
@Deprecated
3640
public class StubMappingJsonRecorder implements RequestListener {
3741

3842
private final BlobStore mappingsBlobStore;

src/test/java/com/github/tomakehurst/wiremock/stubbing/StubMappingJsonRecorderTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
import org.junit.jupiter.api.Test;
4747
import org.skyscreamer.jsonassert.JSONCompareMode;
4848

49+
/**
50+
* @deprecated this test is for the legacy recorder which will be removed before 3.x is out of beta
51+
*/
52+
@Deprecated
4953
public class StubMappingJsonRecorderTest {
5054

5155
private StubMappingJsonRecorder listener;

0 commit comments

Comments
 (0)