Remove unused code

This commit is contained in:
Tony Torralba
2022-01-11 14:50:48 +01:00
parent 50caf7d8dc
commit 394c4a9ee0

View File

@@ -77,14 +77,3 @@ private class SharedPreferencesFlowConfig extends DataFlow::Configuration {
sharedPreferencesStore(sink, _)
}
}
/**
* Method call for encrypting sensitive information. As there are various implementations of
* encryption (reversible and non-reversible) from both JDK and third parties, this class simply
* checks method name to take a best guess to reduce false positives.
*/
private class EncryptedSensitiveMethodAccess extends MethodAccess {
EncryptedSensitiveMethodAccess() {
this.getMethod().getName().toLowerCase().matches(["%encrypt%", "%hash%"])
}
}