Files
codeql/java/ql/test/library-tests/frameworks/spring/componentscan/SpringProfiles.ql
2024-08-19 16:23:06 +01:00

7 lines
242 B
Plaintext

import java
import SpringProfiles
from SpringProfileExpr springProfileExpr, string active
where if springProfileExpr.isActive() then active = "active" else active = "inactive"
select springProfileExpr, springProfileExpr.getProfile(), active