From fca249a62e859f040b8bd64d833c4ac5d4ad54f4 Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Mon, 5 Dec 2022 14:44:52 +0100 Subject: [PATCH] Java: Address review comments. --- java/ql/lib/semmle/code/java/dataflow/FlowSources.qll | 1 - java/ql/lib/semmle/code/java/frameworks/Jdbc.qll | 2 +- java/ql/lib/semmle/code/java/frameworks/Regex.qll | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/java/ql/lib/semmle/code/java/dataflow/FlowSources.qll b/java/ql/lib/semmle/code/java/dataflow/FlowSources.qll index 501f5f16ee7..ddd65fc1dea 100644 --- a/java/ql/lib/semmle/code/java/dataflow/FlowSources.qll +++ b/java/ql/lib/semmle/code/java/dataflow/FlowSources.qll @@ -41,7 +41,6 @@ abstract class RemoteFlowSource extends DataFlow::Node { */ private module RemoteFlowSources { private import semmle.code.java.frameworks.android.Widget - private import semmle.code.java.security.TemplateInjection } private class ExternalRemoteFlowSource extends RemoteFlowSource { diff --git a/java/ql/lib/semmle/code/java/frameworks/Jdbc.qll b/java/ql/lib/semmle/code/java/frameworks/Jdbc.qll index b58099237c0..6807a976e77 100644 --- a/java/ql/lib/semmle/code/java/frameworks/Jdbc.qll +++ b/java/ql/lib/semmle/code/java/frameworks/Jdbc.qll @@ -2,7 +2,7 @@ * Provides classes and predicates for working with the Java JDBC API. */ -private import java +import java /*--- Types ---*/ /** The interface `java.sql.Connection`. */ diff --git a/java/ql/lib/semmle/code/java/frameworks/Regex.qll b/java/ql/lib/semmle/code/java/frameworks/Regex.qll index 90213957f4a..780dec48b92 100644 --- a/java/ql/lib/semmle/code/java/frameworks/Regex.qll +++ b/java/ql/lib/semmle/code/java/frameworks/Regex.qll @@ -1,6 +1,6 @@ /** Definitions related to `java.util.regex`. */ -private import java +import java /** The class `java.util.regex.Pattern`. */ class TypeRegexPattern extends Class {