Skip to content

Commit

Permalink
NIFI-12926 Upgraded Jackson from 2.16.2 to 2.17.0
Browse files Browse the repository at this point in the history
This closes #8538

Signed-off-by: David Handermann <exceptionfactory@apache.org>
  • Loading branch information
exceptionfactory committed Mar 21, 2024
1 parent d370b47 commit 6b06145
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/
package org.apache.nifi.web.api.config;

import com.fasterxml.jackson.core.JsonLocation;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.exc.InvalidFormatException;
Expand All @@ -32,7 +31,6 @@
import static com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.mockito.Mockito.when;

@ExtendWith(MockitoExtension.class)
public class JsonContentConversionExceptionMapperTest {
Expand All @@ -43,7 +41,6 @@ public class JsonContentConversionExceptionMapperTest {

@BeforeEach
public void setUp() {
when(mockParser.getTokenLocation()).thenReturn(new JsonLocation(null, 100, 1, 1));
jsonCCEM = new JsonContentConversionExceptionMapper();
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
<com.jayway.jsonpath.version>2.9.0</com.jayway.jsonpath.version>
<derby.version>10.17.1.0</derby.version>
<jetty.version>12.0.6</jetty.version>
<jackson.bom.version>2.16.2</jackson.bom.version>
<jackson.bom.version>2.17.0</jackson.bom.version>
<avro.version>1.11.3</avro.version>
<jaxb.runtime.version>4.0.4</jaxb.runtime.version>
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
Expand Down

0 comments on commit 6b06145

Please sign in to comment.