question: private int [ ] versionParts ( String version ) { String [ ] parts = version . split ( "\\." ) ; int [ ] p = new int [ 3 ] ; for ( int i = 0 ; i < 3 ; i ++ ) { int pi ; if ( i < parts . length ) { p [ i ] = Integer . parseInt ( parts [ i ] ) ; } else { p [ i ] = - 1 ; } } return p ; }
target:  Return the version parts