Skip to content

Commit 67eaa1b

Browse files
author
Benjamin Muskalla
committed
Fix qldoc
1 parent f7ad894 commit 67eaa1b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

java/ql/src/Telemetry/ExternalAPI.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ private import semmle.code.java.dataflow.TaintTracking
1515
class ExternalAPI extends Callable {
1616
ExternalAPI() { not this.fromSource() }
1717

18-
/** Holds if this API is a candidate worth supporting */
18+
/** Holds if this API is not worth supporting */
1919
predicate isUninteresting() { isTestLibrary() or isParameterlessConstructor() }
2020

2121
/** Holds if this API is is a constructor without parameters */

java/ql/src/Telemetry/ExternalLibraryUsage.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ from int usages, string jarname
1313
where
1414
usages =
1515
strictcount(Call c, ExternalAPI a |
16-
c.getCallee() = a and
16+
c.getCallee().getSourceDeclaration() = a and
1717
not c.getFile() instanceof GeneratedFile and
1818
a.jarContainer() = jarname and
1919
not a.isUninteresting()

0 commit comments

Comments
 (0)