int function ( ) { if ( MAJOR_VERSION . length ( ) == 0 ) return - 1 ; return Integer . parseInt ( MAJOR_VERSION ) ; }
get the major version number , i.e. , the x in version x.y. concode_field_sep String MAJOR_VERSION concode_elem_sep String MINOR_VERSION concode_elem_sep String VERSION_NAME concode_elem_sep String BUILD_DATE concode_elem_sep String BUILD_NUMBER concode_field_sep String getBuildNumber concode_elem_sep String getBuildDate concode_elem_sep int getMinorVersion concode_elem_sep void main concode_elem_sep String getVersionName