From dba5e9e9e271f107bfb7aaddc042bc23af85a827 Mon Sep 17 00:00:00 2001 From: Ed Minnix Date: Thu, 30 Mar 2023 11:03:48 -0400 Subject: [PATCH] Updates to imports Make some imports private Remove unnecessary imports --- .../java/security/ExternallyControlledFormatStringQuery.qll | 4 ++-- .../lib/semmle/code/java/security/ResponseSplittingQuery.qll | 2 +- java/ql/lib/semmle/code/java/security/ZipSlipQuery.qll | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/java/ql/lib/semmle/code/java/security/ExternallyControlledFormatStringQuery.qll b/java/ql/lib/semmle/code/java/security/ExternallyControlledFormatStringQuery.qll index 64448b9012a..25d4e2b4fa5 100644 --- a/java/ql/lib/semmle/code/java/security/ExternallyControlledFormatStringQuery.qll +++ b/java/ql/lib/semmle/code/java/security/ExternallyControlledFormatStringQuery.qll @@ -1,8 +1,8 @@ /** Provides a taint-tracking configuration to reason about externally controlled format string vulnerabilities. */ import java -import semmle.code.java.dataflow.FlowSources -import semmle.code.java.StringFormat +private import semmle.code.java.dataflow.FlowSources +private import semmle.code.java.StringFormat /** * A taint-tracking configuration for externally controlled format string vulnerabilities. diff --git a/java/ql/lib/semmle/code/java/security/ResponseSplittingQuery.qll b/java/ql/lib/semmle/code/java/security/ResponseSplittingQuery.qll index 95eaab22e0d..5ac4953422a 100644 --- a/java/ql/lib/semmle/code/java/security/ResponseSplittingQuery.qll +++ b/java/ql/lib/semmle/code/java/security/ResponseSplittingQuery.qll @@ -1,7 +1,7 @@ /** Provides a taint tracking configuration to reason about response splitting vulnerabilities. */ import java -import semmle.code.java.dataflow.FlowSources +private import semmle.code.java.dataflow.FlowSources import semmle.code.java.security.ResponseSplitting /** diff --git a/java/ql/lib/semmle/code/java/security/ZipSlipQuery.qll b/java/ql/lib/semmle/code/java/security/ZipSlipQuery.qll index 78499c69be0..6eaa372075b 100644 --- a/java/ql/lib/semmle/code/java/security/ZipSlipQuery.qll +++ b/java/ql/lib/semmle/code/java/security/ZipSlipQuery.qll @@ -1,8 +1,6 @@ /** Provides dataflow configurations to be used in ZipSlip queries. */ import java -import semmle.code.java.controlflow.Guards -import semmle.code.java.dataflow.SSA import semmle.code.java.dataflow.TaintTracking import semmle.code.java.security.PathSanitizer private import semmle.code.java.dataflow.ExternalFlow