Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
fix(api): fix <init> function issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Mar 29, 2022
1 parent 0e9bcc5 commit fc5ea89
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -27,7 +27,7 @@ class JavaApiAnalyser {
if (useRestTemplate.isNotEmpty()) {
node.Functions.forEach {
it.FunctionCalls.forEach { call ->
if (call.NodeName == "RestTemplate") {
if (call.NodeName == "RestTemplate" && call.FunctionName != "<init>") {
var method = ""
val functionName = call.FunctionName
when {
Expand Down

0 comments on commit fc5ea89

Please sign in to comment.