private String capFirst(String anyName) {
		// obscure Java convention:
		// if second letter capitalized, leave it alone
		if (anyName.length() > 1)
			if (anyName.charAt(1) >= 'A' && anyName.charAt(1) <= 'Z')
				return anyName;
		String capFirstLetter = anyName.substring(0, 1).toUpperCase();
		return capFirstLetter + anyName.substring(1);
	}
private String capFirst(String anyName) {
		
		
		if (anyName.length() > 1)
			if (anyName.charAt(1) >= 'A' && anyName.charAt(1) <= 'Z')
				return anyName;
		String capFirstLetter = anyName.substring(0, 1).toUpperCase();
		return capFirstLetter + anyName.substring(1);
	}
private String capFirst ( String anyName ) { // obscure Java convention: // if second letter capitalized, leave it alone if ( anyName . length ( ) > 1 ) if ( anyName . charAt ( 1 ) >= ' ' && anyName . charAt ( 1 ) <= ' ' ) return anyName ; String capFirstLetter = anyName . substring ( 0 , 1 ) . toUpperCase ( ) ; return capFirstLetter + anyName . substring ( 1 ) ; }
Capitalizes the first letter to create a valid getter/setter name.

@param String
@return String
Capitalizes the first letter to create a valid getter / setter name .