Skip to content

Commit 3d74467

Browse files
committed
public KeyboardFriendlyDecimalFormatSymbols enables custom reuse
1 parent ee6be0c commit 3d74467

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
- [Ruby] Minor cosmetic / CI changes for development (Nothing front-facing)
1111
- [Python] PEP 639 licence metadata specification ([#361](https://github.com/cucumber/cucumber-expressions/pull/361))
1212
- [Java] Add OSGi metadata
13+
- [Java] class `KeyboardFriendlyDecimalFormatSymbols` is now `public` and can be used when creating a custom `Locale`-aware type transformation method
14+
([#376](https://github.com/cucumber/cucumber-expressions/issues/376)
15+
[antagoony](https://github.com/antagoony))
1316

1417
### Removed
1518
- [Python] Remove support for end-of-life Python 3.8 and 3.9 ([#359](https://github.com/cucumber/cucumber-expressions/pull/359))

java/src/main/java/io/cucumber/cucumberexpressions/KeyboardFriendlyDecimalFormatSymbols.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* <p>
99
* Note quite complete, feel free to make a suggestion.
1010
*/
11-
class KeyboardFriendlyDecimalFormatSymbols {
11+
public class KeyboardFriendlyDecimalFormatSymbols {
1212

13-
static DecimalFormatSymbols getInstance(Locale locale) {
13+
public static DecimalFormatSymbols getInstance(Locale locale) {
1414
DecimalFormatSymbols symbols = DecimalFormatSymbols.getInstance(locale);
1515

1616
// Replace the minus sign with minus-hyphen as available on most keyboards.

0 commit comments

Comments
 (0)