Skip to content

Commit 2a901f3

Browse files
authored
Rename queryArrParams to queryMapWithArrayValues (OpenFeign#1234)
1 parent 60cf3e8 commit 2a901f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/src/test/java/feign/FeignTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void arrayQueryMapParams() throws Exception {
7171

7272
TestInterface api = new TestInterfaceBuilder().target("http://localhost:" + server.getPort());
7373

74-
api.queryArrParams(Maps.newHashMap("1", new String[] {"apple", "pear"}));
74+
api.queryMapWithArrayValues(Maps.newHashMap("1", new String[] {"apple", "pear"}));
7575

7676
assertThat(server.takeRequest()).hasPath("/?1=apple&1=pear");
7777
}
@@ -994,7 +994,7 @@ void form(
994994
Response queryParams(@Param("1") String one, @Param("2") Iterable<String> twos);
995995

996996
@RequestLine("GET /")
997-
Response queryArrParams(@QueryMap Map<String, String[]> twos);
997+
Response queryMapWithArrayValues(@QueryMap Map<String, String[]> twos);
998998

999999
@RequestLine("POST /?date={date}")
10001000
void expand(@Param(value = "date", expander = DateToMillis.class) Date date);

0 commit comments

Comments
 (0)