private void matchParentCommand(final List<ConfigCommand> commandList) {

		if (commandList == null) {
			return;
		}
		for (int i = 0; i < commandList.size(); i++) {
			ConfigCommand child = commandList.get(i);
			if (!child.getCommandTypeName().equalsIgnoreCase(TieConstants.COMMAND_FORM)) {
				setParentForChildCommand(commandList, i, child);
			}
		}
	}
private void matchParentCommand(final List<ConfigCommand> commandList) {

		if (commandList == null) {
			return;
		}
		for (int i = 0; i < commandList.size(); i++) {
			ConfigCommand child = commandList.get(i);
			if (!child.getCommandTypeName().equalsIgnoreCase(TieConstants.COMMAND_FORM)) {
				setParentForChildCommand(commandList, i, child);
			}
		}
	}
private void matchParentCommand ( final List < ConfigCommand > commandList ) { if ( commandList == null ) { return ; } for ( int i = 0 ; i < commandList . size ( ) ; i ++ ) { ConfigCommand child = commandList . get ( i ) ; if ( ! child . getCommandTypeName ( ) . equalsIgnoreCase ( TieConstants . COMMAND_FORM ) ) { setParentForChildCommand ( commandList , i , child ) ; } } }
Set up parent attribute for each command (exclude form command). The top
level commands have no parent.

@param commandList
the command list
Set up parent attribute for each command ( exclude form command ) . The top level commands have no parent .