From: Roland Haeder Date: Wed, 12 Aug 2015 13:06:36 +0000 (+0200) Subject: More comments improved ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=560be385a76757e50943e741155689b7af2c6f2a;p=jcore.git More comments improved ... Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jcore/contact/Gender.java b/src/org/mxchange/jcore/contact/Gender.java index 2b7e112..a316006 100644 --- a/src/org/mxchange/jcore/contact/Gender.java +++ b/src/org/mxchange/jcore/contact/Gender.java @@ -25,19 +25,21 @@ import org.mxchange.jcore.BaseFrameworkSystem; * @author Roland Haeder */ public enum Gender { - /** * Unknown enum */ UNKNOWN('U', "BaseContact.gender.unknown.text"), + /** * Male enum */ MALE('M', "BaseContact.gender.male.text"), + /** * Female enum */ FEMALE('F', "BaseContact.gender.female.text"), + /** * Company enum */ @@ -91,7 +93,7 @@ public enum Gender { return validChars; } - // Init array + // Init array, only 3 are valid as 'U' is UNKNOWN and is not valid. char[] valid = new char[3]; // Get values