mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Java: Remove some deprecated classes.
This commit is contained in:
@@ -204,15 +204,6 @@ private class BeanValidationSource extends RemoteFlowSource {
|
||||
/** Class for `tainted` user input. */
|
||||
abstract class UserInput extends DataFlow::Node { }
|
||||
|
||||
/**
|
||||
* DEPRECATED: Use `RemoteFlowSource` instead.
|
||||
*
|
||||
* Input that may be controlled by a remote user.
|
||||
*/
|
||||
deprecated class RemoteUserInput extends UserInput {
|
||||
RemoteUserInput() { this instanceof RemoteFlowSource }
|
||||
}
|
||||
|
||||
/** A node with input that may be controlled by a local user. */
|
||||
abstract class LocalUserInput extends UserInput { }
|
||||
|
||||
|
||||
@@ -9,10 +9,4 @@ import semmle.code.java.dataflow.internal.TaintTrackingUtil::StringBuilderVarMod
|
||||
|
||||
module TaintTracking {
|
||||
import semmle.code.java.dataflow.internal.tainttracking1.TaintTrackingImpl
|
||||
private import semmle.code.java.dataflow.TaintTracking2
|
||||
|
||||
/**
|
||||
* DEPRECATED: Use TaintTracking2::Configuration instead.
|
||||
*/
|
||||
deprecated class Configuration2 = TaintTracking2::Configuration;
|
||||
}
|
||||
|
||||
@@ -63,18 +63,3 @@ private predicate validatedAccess(VarAccess va) {
|
||||
class ValidatedVariableAccess extends VarAccess {
|
||||
ValidatedVariableAccess() { validatedAccess(this) }
|
||||
}
|
||||
|
||||
/**
|
||||
* DEPRECATED: Use ValidatedVariableAccess instead.
|
||||
*
|
||||
* A variable that is ever passed to a string verification method.
|
||||
*/
|
||||
deprecated class ValidatedVariable extends Variable {
|
||||
ValidatedVariable() {
|
||||
exists(MethodAccess call, int arg, VarAccess access |
|
||||
validationMethod(call.getMethod(), arg) and
|
||||
call.getArgument(arg) = access and
|
||||
access.getVariable() = this
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user