Commit c00d21d8 authored by Grégory Mantelet's avatar Grégory Mantelet
Browse files

[ADQL] No more need to remove FunctionDef with empty names...now, by definition,

this is not any more possible.
parent 732e310d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -226,11 +226,11 @@ public class DBChecker implements QueryChecker {

		// Store all allowed UDFs in a sorted array:
		if (allowedUdfs != null) {
			// Remove all NULL and empty strings:
			// Remove all NULL:
			tmp = new FunctionDef[allowedUdfs.size()];
			cnt = 0;
			for(FunctionDef udf : allowedUdfs) {
				if (udf != null && udf.name.trim().length() > 0)
				if (udf != null)
					tmp[cnt++] = udf;
			}
			// make a copy of the array: