Java: Deprecate RemoteUserInput.

This commit is contained in:
Anders Schack-Mulligen
2019-05-06 13:43:58 +02:00
parent 10a6362357
commit f367427fb8
16 changed files with 21 additions and 17 deletions

View File

@@ -143,8 +143,12 @@ private class ThriftIfaceParameterSource extends RemoteFlowSource {
/** Class for `tainted` user input. */
abstract class UserInput extends DataFlow::Node { }
/** Input that may be controlled by a remote user. */
class RemoteUserInput extends UserInput {
/**
* DEPRECATED: Use `RemoteFlowSource` instead.
*
* Input that may be controlled by a remote user.
*/
deprecated class RemoteUserInput extends UserInput {
RemoteUserInput() { this instanceof RemoteFlowSource }
/**