Java: Remove some deprecated classes.

This commit is contained in:
Anders Schack-Mulligen
2020-11-24 14:04:01 +01:00
parent 260a8d4afb
commit b192f6dfe0
3 changed files with 0 additions and 30 deletions

View File

@@ -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 { }

View File

@@ -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;
}

View File

@@ -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
)
}
}