Signed-off-by:Roland Häder <roland@mxchange.org>
// Now, let's try a boolean check, if no null
if ((strippedToken != null) && (num == null) && (bool == null) && ((strippedToken.equals("M")) || (strippedToken.equals("F")) || (strippedToken.equals("C")))) {
// Get first character
- //gender = strippedToken.charAt(0);
- throw new UnsupportedOperationException("Gender dection is unifnished!");
+ gender = Gender.fromChar(strippedToken.charAt(0));
}
// Now it depends on the counter which position we need to check