Files
Mikhail Pyltsin aabad19c45 [java-inspections] IDEA-327142 Support not only String for Taint analyzer. Added table
GitOrigin-RevId: 8cf47f40490dd82e20e75eaae682ac218f019614
2023-08-02 11:16:43 +00:00

23 lines
559 B
Java

package com.example.sqlinjection;
import java.io.IOException;
import java.io.PrintWriter;
final class Complete {
private void simpleView2(java.util.List<String> message6, final HttpServletResponse resp) throws IOException {
PrintWriter writer = resp.getWriter();
PrintWriter out = writer;
try {
out.print(<warning descr="Unknown string is used as safe parameter">message6</warning>);
} catch (Exception e) {
}
}
private static class HttpServletResponse {
public PrintWriter getWriter() {
return null;
}
}
}