Skip to content

Commit 8030fd1

Browse files
committed
use method name as the parameter type name (for consistency)
1 parent 02da4a7 commit 8030fd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cucumber-java/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ public class TransformerDefinitions {
357357
formatter = DateTimeFormatter.ofPattern("dd MMMM yyyy").withLocale(locale);
358358
}
359359

360-
@ParameterType(name = "date", value = "\\d{1,2} \\w+ \\d{4}")
361-
public LocalDate parseLocalDate(String value) {
360+
@ParameterType(value = "\\d{1,2} \\w+ \\d{4}")
361+
public LocalDate localizedDate(String value) {
362362
return LocalDate.parse(value, formatter);
363363
}
364364

0 commit comments

Comments
 (0)