We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
setSignature
1 parent be01745 commit 30e094eCopy full SHA for 30e094e
basex-core/src/main/java/org/basex/query/func/Closure.java
@@ -416,18 +416,6 @@ public Iterator<Entry<Var, Expr>> globalBindings() {
416
return global.entrySet().iterator();
417
}
418
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
-
431
/**
432
* Assigns the updating flag.
433
* @throws QueryException query exception
0 commit comments