mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
IJ-CR-155115 IJPL-172387 add comment to custom validation rule
(cherry picked from commit 61c0b68912399130b04eda901b7af6587efb71f0) GitOrigin-RevId: 549a177d592376098cf981cf19214bd7e824822d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ba81dfd08f
commit
21d689f17c
@@ -47,6 +47,10 @@ internal object DialogsCounterUsagesCollector : CounterUsagesCollector() {
|
||||
override fun getGroup(): EventLogGroup = GROUP
|
||||
}
|
||||
|
||||
/**This ensures that invocation places are collected only from internal plugins
|
||||
and plugins from the marketplace that are safe to report.
|
||||
This is done to prevent the collection of any potentially personal or sensitive information,
|
||||
as only explicitly-defined and safe invocation places are considered.*/
|
||||
internal class ListValidationRule : CustomValidationRule() {
|
||||
override fun getRuleId(): String = "dialog_invocation_place"
|
||||
override fun doValidate(data: String, context: EventContext): ValidationResultType {
|
||||
|
||||
Reference in New Issue
Block a user