private void decodeGitRefToolSpecifiedId(final String toolSpecifiedId){
  if (StringUtils.isEmpty(toolSpecifiedId)) {
    throw new MalformedArtifactIDException(this);
  }
  final String[] components=toolSpecifiedId.split(URI_SEPARATOR);
  if (components.length < 3) {
    throw new MalformedURIException(String.format("The toolSpecifiedId was not able to be decoded: %s",toolSpecifiedId));
  }
  projectId=components[0];
  repoId=components[1];
  refName=components[2];
  if (components.length > 3) {
    for (int index=3; index < components.length; index++) {
      refName=refName + URI_SEPARATOR + components[index];
    }
  }
  refName=decodeRefName(refName);
}

private void decodeGitRefToolSpecifiedId ( final String toolSpecifiedId ) { if ( StringUtils . isEmpty ( toolSpecifiedId ) ) { throw new MalformedArtifactIDException ( this ) ; } final String [ ] components = toolSpecifiedId . split ( URI_SEPARATOR ) ; if ( components . length < 3 ) { throw new MalformedURIException ( String . format ( "The toolSpecifiedId was not able to be decoded: %s" , toolSpecifiedId ) ) ; } projectId = components [ 0 ] ; repoId = components [ 1 ] ; refName = components [ 2 ] ; if ( components . length > 3 ) { for ( int index = 3 ; index < components . length ; index ++ ) { refName = refName + URI_SEPARATOR + components [ index ] ; } } refName = decodeRefName ( refName ) ; }
decode the toolspecifiedid into its 3 separate components
