Source:
<code>public StringBuilder toStringNoAlias(boolean includeSchemaInColumnPath) { final StringBuilder sb = new StringBuilder(); if (_column != null) { if (_function==null || (_function!=null && !_function.getFunctionName().equals(FunctionType.CONCAT.getFunctionName()))) { sb.append(getToStringColumnPrefix(includeSchemaInColumnPath, null)); sb.append(getColumn().getQuotedName()); } } if (_expression != null) { sb.append(_expression); } if (_fromItem != null && _subQuerySelectItem != null) { if (_fromItem.getAlias() != null) { sb.append(_fromItem.getAlias() + '.'); } sb.append(_subQuerySelectItem.getSuperQueryAlias()); } if (_function != null) { final StringBuilder functionBeginning = new StringBuilder(); if (_functionApproximationAllowed) { functionBeginning.append(FUNCTION_APPROXIMATION_PREFIX); } functionBeginning.append(_function.getFunctionName()); functionBeginning.append('('); final Object[] functionParameters = getFunctionParameters(); if (functionParameters != null && functionParameters.length != 0) { for (int i = 0; i < functionParameters.length; i++) { if (functionParameters[i] instanceof Column) { Column col = (Column) functionParameters[i]; functionBeginning.append(getToStringColumnPrefix(includeSchemaInColumnPath, col)); functionBeginning.append(col.getQuotedName()); } else { if (!_function.getFunctionName().equals(FunctionType.CONCAT.getFunctionName())) { functionBeginning.append('\''); } functionBeginning.append(functionParameters[i]); if (!_function.getFunctionName().equals(FunctionType.CONCAT.getFunctionName())) { functionBeginning.append('\''); <START> } <END> } functionBeginning.append(','); } if (_function.getFunctionName().equals(FunctionType.CONCAT.getFunctionName())) { functionBeginning.deleteCharAt(functionBeginning.length() - 1); } } sb.insert(0, functionBeginning.toString()); sb.append(")"); } return sb; }</code><technical_language>changes unfortunate a specific-case exception for is general. If instead _any_ function select item parameter, in a position</technical_language>

Target:
public StringBuilder toStringNoAlias(boolean includeSchemaInColumnPath) { final StringBuilder sb = new StringBuilder(); if (_column != null && (_function == null || isNotAFunctionContainingColumnAndParams())) { sb.append(getToStringColumnPrefix(includeSchemaInColumnPath, null)); sb.append(getColumn().getQuotedName()); } if (_expression != null) { sb.append(_expression); } if (_fromItem != null && _subQuerySelectItem != null) { if (_fromItem.getAlias() != null) { sb.append(_fromItem.getAlias() + '.'); } sb.append(_subQuerySelectItem.getSuperQueryAlias()); } if (_function != null) { final StringBuilder functionBeginning = new StringBuilder(); if (_functionApproximationAllowed) { functionBeginning.append(FUNCTION_APPROXIMATION_PREFIX); } functionBeginning.append(_function.getFunctionName()); functionBeginning.append('('); final Object[] functionParameters = getFunctionParameters(); if (functionParameters != null && functionParameters.length != 0) { for (int i = 0; i < functionParameters.length; i++) { if (functionParameters[i] instanceof Column) { Column col = (Column) functionParameters[i]; functionBeginning.append(getToStringColumnPrefix(includeSchemaInColumnPath, col)); functionBeginning.append(col.getQuotedName()); } else { functionBeginning.append('\''); functionBeginning.append(functionParameters[i]); functionBeginning.append('\''); } if (sb.length() == 0) { if (i != (functionParameters.length - 1)) { functionBeginning.append(','); } } else { functionBeginning.append(','); } } } sb.insert(0, functionBeginning.toString()); sb.append(")"); } return sb; }