Skip to content

Commit

Permalink
Warnings removal
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Nov 27, 2023
1 parent f4c2cf2 commit 8e47f98
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.json.JsonReadFeature;
import com.fasterxml.jackson.core.util.BufferRecycler;
import com.fasterxml.jackson.core.util.BufferRecyclers;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.json.JsonMapper;
Expand Down Expand Up @@ -1030,9 +1028,7 @@ public void unknownEscape() throws IOException {

@Test
public void chunkEdge() throws IOException {
BufferRecycler br = BufferRecyclers.getBufferRecycler();
char[] chars = br.allocCharBuffer(0);
br.releaseCharBuffer(0, chars);
char[] chars = new char[200];
int bufferLength = chars.length;

ObjectNode node = toml("foo = \"" + repeat('a', bufferLength - 19) + "\"\n" +
Expand Down

0 comments on commit 8e47f98

Please sign in to comment.