-
Bug
-
Resolution: Done
-
Major
-
5.2.1.Final
-
None
-
None
-
False
-
None
-
False
-
-
---
-
---
-
AMM Sprint 218, AMM Sprint 219
-
None
The DiscoverHardcodedIPAddressRuleProvider.java is supposed to detect IP addresses in several type of files, including Java files (where("type").matches("\\.java|\\.properties|[^pom]
.xml")).
If I have an IP address in a properties file, WindUp detects it:
my.address=10.10.1.0
But if I have a Java attribute or variable that declares the same IP address, then WindUp does not detect it:
private String myAddress = "10.10.1.0";
String myAddress = "10.10.1.0";
I expect this rule to detect IP addresses also from Java classes