-
Notifications
You must be signed in to change notification settings - Fork 273
remove some new object init calls #2360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,4 +40,11 @@ public void setOperand(String operand) { | |
| this.operand = operand; | ||
| } | ||
|
|
||
| public DataOperandFilterRequest modify(Object data, Object queryset, String operand) { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This whole class is a subset of filterActionRequest with one extra field What if we delete this whole class and just use the filterActionRequest ??
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no performance impact for now, let's do this later |
||
| this.data = data; | ||
| this.queryset = queryset; | ||
| this.operand = operand; | ||
| return this; | ||
| } | ||
|
|
||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to do resolve var map ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, varmap basically contains all the variables via extract command, or wordlist variables. Right now our threat templates are simple, can add this later on