private Map<String, String> buildAttrMap(final String commandLine, final int nameEndIndex) {
		int paramsEndIndex = commandLine.lastIndexOf(TieConstants.ATTR_SUFFIX);
		if (paramsEndIndex < 0) {
			String errMsg = "Failed to parse command line [" + commandLine + "]. Expected '" + TieConstants.ATTR_SUFFIX
					+ "' symbol.";
			throw new IllegalArgumentException(errMsg);
		}
		String attrString = commandLine.substring(nameEndIndex + 1, paramsEndIndex).trim();
		return ParserUtility.parseCommandAttributes(attrString);
	}
private Map<String, String> buildAttrMap(final String commandLine, final int nameEndIndex) {
		int paramsEndIndex = commandLine.lastIndexOf(TieConstants.ATTR_SUFFIX);
		if (paramsEndIndex < 0) {
			String errMsg = "Failed to parse command line [" + commandLine + "]. Expected '" + TieConstants.ATTR_SUFFIX
					+ "' symbol.";
			throw new IllegalArgumentException(errMsg);
		}
		String attrString = commandLine.substring(nameEndIndex + 1, paramsEndIndex).trim();
		return ParserUtility.parseCommandAttributes(attrString);
	}
private Map < String , String > buildAttrMap ( final String commandLine , final int nameEndIndex ) { int paramsEndIndex = commandLine . lastIndexOf ( TieConstants . ATTR_SUFFIX ) ; if ( paramsEndIndex < 0 ) { String errMsg = "Failed to parse command line [" + commandLine + "]. Expected '" + TieConstants . ATTR_SUFFIX + "' symbol." ; throw new IllegalArgumentException ( errMsg ) ; } String attrString = commandLine . substring ( nameEndIndex + 1 , paramsEndIndex ) . trim ( ) ; return ParserUtility . parseCommandAttributes ( attrString ) ; }
Build the attributes map.

@param commandLine
command line from comment.
@param nameEndIndex
index of command name's end.
@return attributes map.
Build the attributes map .