Source:
<code>public Map<String, DbParameterAccessor> getAllProcedureParameters( String procName) throws SQLException { String[] qualifiers = NameNormaliser.normaliseName(procName).split( "\\."); String qry = "select 'FUNCTION' as type,btrim(btrim(arguments,'('),')') as param_list,returns from _v_procedure where 1=1"; if (qualifiers.length == 3) { qry += " and lower(database)=? and lower(schema)=? and lower(procedure)=? "; } else if (qualifiers.length == 2) { qry += " and lower(schema)=? and lower(procedure)=? "; } else { qry += " and lower(procedure)=? "; } String type; String paramList; String returns; try (PreparedStatement dc = currentConnection.prepareStatement(qry)) { for (int i = 0; i < qualifiers.length; i++) { dc.setString(i + 1, NameNormaliser.normaliseName(qualifiers[i])); } ResultSet rs = dc.executeQuery(); if (!rs.next()) { throw new SQLException("Unknown procedure " + procName); } type = rs.getString(1); paramList = rs.getString(2); returns = rs.getString(3); rs.close(); } int position = 0; Direction direction = Direction.INPUT; String paramName; String dataType; String token; Map<String, DbParameterAccessor> allParams = new HashMap<String, DbParameterAccessor>(); <START> if (paramList.length()!=0) { <END> for (String param : paramList.split(",")) { StringTokenizer s = new StringTokenizer(param.trim().toLowerCase(), " ()"); token = s.nextToken(); paramName = "$" + (position + 1); dataType = normaliseTypeName(param); DbParameterAccessor dbp = new DbParameterAccessor(paramName, direction, getSqlType(dataType), getJavaClass(dataType), position++); allParams.put(NameNormaliser.normaliseName(paramName), dbp); } } return allParams; }</code><technical_language>!= surrounded whitespace</technical_language>

Target:
public Map<String, DbParameterAccessor> getAllProcedureParameters( String procName) throws SQLException { String[] qualifiers = NameNormaliser.normaliseName(procName).split( "\\."); String qry = "select btrim(btrim(arguments,'('),')') as param_list from _v_procedure where 1=1"; if (qualifiers.length == 3) { qry += " and lower(database)=? and lower(schema)=? and lower(procedure)=? "; } else if (qualifiers.length == 2) { qry += " and lower(schema)=? and lower(procedure)=? "; } else { qry += " and lower(procedure)=? "; } String paramList; try (PreparedStatement dc = currentConnection.prepareStatement(qry)) { for (int i = 0; i < qualifiers.length; i++) { dc.setString(i + 1, NameNormaliser.normaliseName(qualifiers[i])); } ResultSet rs = dc.executeQuery(); if (!rs.next()) { throw new SQLException("Unknown procedure " + procName); } paramList = rs.getString(1); rs.close(); } int position = 0; Direction direction = Direction.INPUT; String paramName; String dataType; String token; Map<String, DbParameterAccessor> allParams = new HashMap<String, DbParameterAccessor>(); if (paramList.length() != 0) { for (String param : paramList.split(",")) { StringTokenizer s = new StringTokenizer(param.trim().toLowerCase(), " ()"); token = s.nextToken(); paramName = "$" + (position + 1); dataType = normaliseTypeName(param); DbParameterAccessor dbp = new DbParameterAccessor(paramName, direction, getSqlType(dataType), getJavaClass(dataType), position++); allParams.put(NameNormaliser.normaliseName(paramName), dbp); } } return allParams; }