Skip to content

Commit

Permalink
linking any mathod which takes property key as parameter (#1211)
Browse files Browse the repository at this point in the history
linking any mathod which takes property key as string
  • Loading branch information
pandurangpatil authored Jul 5, 2024
1 parent 062ffbe commit df95318
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ class JavaPropertyLinkerPass(cpg: Cpg) extends PrivadoParallelCpgPass[JavaProper

private def matchingLiteralsInGetPropertyCalls(propertyName: String): List[Literal] = cpg.literal
.codeExact("\"" + propertyName + "\"")
.filter(_.inCall.name(".*getProperty").nonEmpty)
.toList

}

0 comments on commit df95318

Please sign in to comment.