Skip to content

Commit

Permalink
deprecating JsonEscapePlace and JsonEscape utility
Browse files Browse the repository at this point in the history
  • Loading branch information
sambish5 committed Aug 7, 2024
1 parent 511b047 commit 887a595
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/emissary/transform/JsonEscapePlace.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import static emissary.core.constants.Configurations.OUTPUT_FORM;

@Deprecated(forRemoval = true)
public class JsonEscapePlace extends ServiceProviderPlace {

/**
Expand Down
1 change: 1 addition & 0 deletions src/main/java/emissary/transform/decode/JsonEscape.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import java.io.ByteArrayOutputStream;
import java.io.IOException;

@Deprecated(forRemoval = true)
public class JsonEscape {

private static final String ESCAPES = "ntr\"'/\\";
Expand Down
1 change: 1 addition & 0 deletions src/test/java/emissary/transform/JsonEscapePlaceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.io.IOException;
import java.util.stream.Stream;

@Deprecated(forRemoval = true)
class JsonEscapePlaceTest extends ExtractionTest {

public static Stream<? extends Arguments> data() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import static org.junit.jupiter.api.Assertions.assertEquals;

@Deprecated(forRemoval = true)
class JsonEscapeTest extends UnitTest {
@Test
void testEscapedAngleBracketChars() {
Expand Down

0 comments on commit 887a595

Please sign in to comment.