Skip to content

Commit 30e094e

Browse files
remove obsolete method setSignature (#2591)
1 parent be01745 commit 30e094e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

basex-core/src/main/java/org/basex/query/func/Closure.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -416,18 +416,6 @@ public Iterator<Entry<Var, Expr>> globalBindings() {
416416
return global.entrySet().iterator();
417417
}
418418

419-
/**
420-
* Sets the type of this closure that has been generated for a function literal.
421-
* @param ft function type
422-
*/
423-
void setSignature(final FuncType ft) {
424-
anns = ft.anns;
425-
final int pl = params.length;
426-
for(int p = 0; p < pl; p++) params[p].declType = ft.argTypes[p];
427-
final SeqType dt = ft.declType;
428-
if(!dt.eq(Types.ITEM_ZM)) declType = dt;
429-
}
430-
431419
/**
432420
* Assigns the updating flag.
433421
* @throws QueryException query exception

0 commit comments

Comments
 (0)