Java: remove models for System.[get|set]Property

This commit is contained in:
Jami Cogswell
2023-01-17 08:51:48 -05:00
parent fb6725ddaa
commit 10f0975812
4 changed files with 3 additions and 8 deletions

View File

@@ -64,9 +64,6 @@ public class Test {
sink((String)e4.getMessage()); // $hasValueFlow
sink((Throwable)e4.getCause()); // $hasValueFlow
System.setProperty("testKey", (String)source());
sink(System.getProperty("testKey")); // $hasValueFlow
// java.sql
Connection con = DriverManager.getConnection("");
PreparedStatement ps1 = con.prepareStatement("UPDATE EMPLOYEES SET NAME = ? WHERE ID = ?");