protected String getModuleVersion ( ) { StringBuilder sb = new StringBuilder ( ) ; int pcs = 0 ; for ( String pc : projectVersion . split ( "\\." ) ) { if ( pcs ++ > 3 ) { break ; } else { appendVersionPiece ( sb , pc ) ; } } appendVersionPiece ( sb , buildNumber ) ; return sb . toString ( ) ; }
Form a version string from the project version and build number .