Skip to content

Commit 6af16bb

Browse files
committed
Revert "Fixing Jackson errors"
This reverts commit 770fb1a.
1 parent 770fb1a commit 6af16bb

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

spring-cloud-commons/src/test/java/org/springframework/cloud/client/serviceregistry/endpoint/ServiceRegistryEndpointTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
import java.util.Map;
2222
import java.util.concurrent.atomic.AtomicReference;
2323

24+
import com.fasterxml.jackson.databind.ObjectMapper;
2425
import org.junit.jupiter.api.Test;
25-
import tools.jackson.databind.ObjectMapper;
2626

2727
import org.springframework.beans.factory.annotation.Autowired;
2828
import org.springframework.boot.SpringBootConfiguration;

spring-cloud-context/src/test/java/org/springframework/cloud/context/environment/EnvironmentManagerIntegrationTests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
import java.util.Map;
2121
import java.util.UUID;
2222

23+
import com.fasterxml.jackson.core.JsonProcessingException;
24+
import com.fasterxml.jackson.databind.ObjectMapper;
2325
import jakarta.servlet.ServletException;
2426
import org.junit.jupiter.api.Test;
25-
import tools.jackson.databind.ObjectMapper;
2627

2728
import org.springframework.beans.factory.annotation.Autowired;
2829
import org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointProperties;
@@ -76,7 +77,7 @@ public void testRefresh() throws Exception {
7677
then(this.properties.getMessage()).isEqualTo("Foo");
7778
}
7879

79-
private String property(String name, String value) {
80+
private String property(String name, String value) throws JsonProcessingException {
8081
// Change the dynamic property source...
8182
Map<String, String> property = new HashMap<>();
8283
property.put("name", name);

0 commit comments

Comments
 (0)