osglworks / java-tool

Some simple common Java utilities
Apache License 2.0
52 stars 18 forks source link

Keyword - add support to digits #174

Closed greenlaw110 closed 6 years ago

greenlaw110 commented 6 years ago

At the moment Keyword segregate between lower and upper case. However it does not take digits into consideration, thus the following keyword are not treated as identical to each other:

Keyword a = Keyword.of("GH844"); // produce "gh-844"
Keyword b = Keyword.of("gh844"); // produce "gh844"

This change request is to add digits segregation into keyword init logic.