Skip to content

Commit

Permalink
added spring boot 3.2 support (postfix)
Browse files Browse the repository at this point in the history
  • Loading branch information
skarpenko authored and kptfh committed Aug 31, 2024
1 parent 7a6c98f commit d3a8c23
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void shouldReturnAllPassedParameters() {

@Test
public void shouldReturnEmptyPassedParameters() {
Map<String, String> paramMap = new HashMap<String, String>() {
Map<String, String> paramMap = new HashMap<>() {
{
put("paramKey", "");
}
Expand All @@ -134,7 +134,7 @@ public void shouldReturnEmptyPassedParameters() {
@Test
public void shouldReturnAllPassedParametersNew() {

Map<String, String> paramMap = new HashMap<String, String>() {
Map<String, String> paramMap = new HashMap<>() {
{
put("paramKey", "paramValue");
}
Expand Down Expand Up @@ -209,7 +209,7 @@ public void shouldReturnEmptyOnNullPassedListParametersNew() {
@Test
public void shouldReturnAllPassedMapParametersNew() {

Map<String, List<String>> paramMap = new HashMap<String, List<String>>() {
Map<String, List<String>> paramMap = new HashMap<>() {
{
put("paramKey", asList("paramValue1", "paramValue2"));
}
Expand All @@ -232,7 +232,7 @@ public void shouldReturnEmptyOnNullPassedMapParametersNew() {

@Test
public void shouldReturnAllPassedHeaders() {
Map<String, String> headersMap = new HashMap<String, String>() {
Map<String, String> headersMap = new HashMap<>() {
{
put("headerKey1", "headerValue1");
put("headerKey2", "headerValue2");
Expand All @@ -257,7 +257,7 @@ public void shouldReturnAllPassedListHeaders() {

@Test
public void shouldReturnAllPassedMultiMapHeaders() {
Map<String, List<String>> headersMap = new HashMap<String, List<String>>() {
Map<String, List<String>> headersMap = new HashMap<>() {
{
put("headerKey1", List.of("headerValue1, headerValue2"));
}
Expand Down Expand Up @@ -290,7 +290,7 @@ public void shouldReturnBody() {

@Test
public void shouldReturnBodyMap() {
Map<String, String> bodyMap = new HashMap<String, String>() {
Map<String, String> bodyMap = new HashMap<>() {
{
put("key1", "value1");
put("key2", "value2");
Expand All @@ -311,7 +311,7 @@ public void shouldReturnBodyReactive() {

@Test
public void shouldReturnBodyMapReactive() {
Map<String, String> bodyMap = new HashMap<String, String>() {
Map<String, String> bodyMap = new HashMap<>() {
{
put("key1", "value1");
put("key2", "value2");
Expand Down Expand Up @@ -494,7 +494,7 @@ public void shouldEncodePathParam() {

@Test
public void shouldEncodePathParamWithReservedChars() {
String PATH_PARAM = "workers?in=(\"123321\")";
String PATH_PARAM = "workers?in=(\"123/321\")";

StepVerifier.create(client.encodePath(PATH_PARAM)
.subscribeOn(testScheduler()))
Expand Down
1 change: 1 addition & 0 deletions feign-reactor-java11/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
<dependency>
<groupId>org.eclipse.jetty.ee10</groupId>
<artifactId>jetty-ee10-webapp</artifactId>
<scope>test</scope>
</dependency>

<dependency>
Expand Down

0 comments on commit d3a8c23

Please sign in to comment.