Skip to content

Commit 786d04e

Browse files
committed
Java: Add the clone method to the model generation exclusions.
1 parent 7919dcf commit 786d04e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/ql/lib/semmle/code/java/dataflow/internal/ModelExclusions.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ predicate isUninterestingForModels(Callable c) {
7878
isInTestFile(c.getCompilationUnit().getFile()) or
7979
isInternal(c.getCompilationUnit()) or
8080
c instanceof MainMethod or
81+
c instanceof CloneMethod or
8182
c instanceof ToStringMethod or
8283
c instanceof LambdaFlowMethod or
8384
c instanceof StaticInitializer or

0 commit comments

Comments
 (0)