-
Notifications
You must be signed in to change notification settings - Fork 123
PROC-1334: Add library support for rule filtering #142
base: master
Are you sure you want to change the base?
Conversation
812f7dc
to
ef0d7e5
Compare
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.
LGTM. We might need to merge this MR #140 firstly to fix the build
import java.util.Set; | ||
import java.util.Stack; | ||
|
||
class NodeHunter implements NodeVisitor { |
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.
can we add some javadoc in this class?
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.
Okay added some explanation.
@@ -80,4 +80,44 @@ public static boolean versionInRange( | |||
} | |||
return inRange(version, start, end); | |||
} | |||
|
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.
Given all those code will only be used outside the proctor library. https://indeed-pte.slack.com/archives/C1F00STA9/p1688590802320449?thread_ts=1688582115.448299&cid=C1F00STA9
Can we add java doc to each of those methods to explain it is not meant to be called inside proctor lib?
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.
actually, can we create a subclass and only the subclass has those extra methods?
See https://bugs.indeed.com/browse/PROC-1334 for context.