public static String fixVersion ( String version ) { if ( version != null ) if ( version . length ( ) > 0 ) { version = version . toUpperCase ( ) ; if ( Character . isLetter ( version . charAt ( 0 ) ) ) version = version . substring ( 1 , version . length ( ) ) + version . substring ( 0 , 1 ) ; // Move letter to start } return version ; }
FixVersion Method .