ankidroid / ankidroid/Anki-Android

API: is `DEFAULT_PROJECTION` intended to be mutable?

未关闭
#12,346 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
API Keep Open
主要语言
Kotlin
星标
11.8k
派生
2.9k
平均合并
2 天 3 小时
30 天内合并 PR
171

描述

API Query - probably for new issue: is `DEFAULT_PROJECTION` intended to be mutable? We have a few of these and this appears to be an oversight. Should this be a get-only property returning a clone of the array?

It was a `String[]` before - so also mutable values, but not size.

_Originally posted by @david-allison in https://github.com/ankidroid/Anki-Android/pull/12334#discussion_r965144637_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。