mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Code quality improvements.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
private import java
|
||||
private import DataFlowPrivate
|
||||
private import DataFlowUtil
|
||||
private import semmle.code.java.dataflow.ExternalFlow as ExternalFlow
|
||||
private import semmle.code.java.dataflow.InstanceAccess
|
||||
private import semmle.code.java.dataflow.internal.FlowSummaryImpl as Impl
|
||||
private import semmle.code.java.dispatch.VirtualDispatch as VirtualDispatch
|
||||
|
||||
@@ -21,8 +21,7 @@ public class Sinks {
|
||||
// neutral=p;Sinks;sink2;(Object);summary;df-generated
|
||||
public void sink2(Object o) {}
|
||||
|
||||
// Defined as sink neutral file in the model file next to the
|
||||
// neutral test.
|
||||
// Defined as sink neutral in the file next to the neutral summary test.
|
||||
// neutral=p;Sinks;nosink;(Object);summary;df-generated
|
||||
public void nosink(Object o) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user