Skip to content

Commit b192f6d

Browse files
committed
Java: Remove some deprecated classes.
1 parent 260a8d4 commit b192f6d

3 files changed

Lines changed: 0 additions & 30 deletions

File tree

java/ql/src/semmle/code/java/dataflow/FlowSources.qll

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -204,15 +204,6 @@ private class BeanValidationSource extends RemoteFlowSource {
204204
/** Class for `tainted` user input. */
205205
abstract class UserInput extends DataFlow::Node { }
206206

207-
/**
208-
* DEPRECATED: Use `RemoteFlowSource` instead.
209-
*
210-
* Input that may be controlled by a remote user.
211-
*/
212-
deprecated class RemoteUserInput extends UserInput {
213-
RemoteUserInput() { this instanceof RemoteFlowSource }
214-
}
215-
216207
/** A node with input that may be controlled by a local user. */
217208
abstract class LocalUserInput extends UserInput { }
218209

java/ql/src/semmle/code/java/dataflow/TaintTracking.qll

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,4 @@ import semmle.code.java.dataflow.internal.TaintTrackingUtil::StringBuilderVarMod
99

1010
module TaintTracking {
1111
import semmle.code.java.dataflow.internal.tainttracking1.TaintTrackingImpl
12-
private import semmle.code.java.dataflow.TaintTracking2
13-
14-
/**
15-
* DEPRECATED: Use TaintTracking2::Configuration instead.
16-
*/
17-
deprecated class Configuration2 = TaintTracking2::Configuration;
1812
}

java/ql/src/semmle/code/java/security/Validation.qll

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,3 @@ private predicate validatedAccess(VarAccess va) {
6363
class ValidatedVariableAccess extends VarAccess {
6464
ValidatedVariableAccess() { validatedAccess(this) }
6565
}
66-
67-
/**
68-
* DEPRECATED: Use ValidatedVariableAccess instead.
69-
*
70-
* A variable that is ever passed to a string verification method.
71-
*/
72-
deprecated class ValidatedVariable extends Variable {
73-
ValidatedVariable() {
74-
exists(MethodAccess call, int arg, VarAccess access |
75-
validationMethod(call.getMethod(), arg) and
76-
call.getArgument(arg) = access and
77-
access.getVariable() = this
78-
)
79-
}
80-
}

0 commit comments

Comments
 (0)