Skip to content

Commit e72832e

Browse files
[refactor] Remove redundant profiling code
1 parent b5274f1 commit e72832e

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

exist-core/src/main/java/org/exist/xquery/functions/fn/FunElementWithId.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,6 @@ public FunElementWithId(final XQueryContext context, final FunctionSignature sig
6161

6262
@Override
6363
public Sequence eval(final Sequence[] args, Sequence contextSequence) throws XPathException {
64-
if (context.getProfiler().isEnabled()) {
65-
context.getProfiler().start(this);
66-
context.getProfiler().message(this, Profiler.DEPENDENCIES, "DEPENDENCIES", Dependency.getDependenciesName(this.getDependencies()));
67-
if (contextSequence != null) {
68-
context.getProfiler().message(this, Profiler.START_SEQUENCES, "CONTEXT SEQUENCE", contextSequence);
69-
}
70-
}
71-
7264
if (getArgumentCount() < 1) {
7365
throw new XPathException(this, ErrorCodes.XPST0017, "function element-with-id requires one argument");
7466
}

0 commit comments

Comments
 (0)