This duplication doesn't appear in tools like CPD because the values in each instance of the repeated infrastructure are indeed unique, but it harms your code nonetheless.
这种复制并不会出现在CPD之类的工具中,因为重复的基础设施的每个实例的值必须是惟一的。尽管如此,它仍然会损害您的代码。
Be careful when assigning values to the "id" attribute of the "action" element; any duplication here will silently fail, essentially creating a "last one wins" solution.
为“action”元素的“id”属性赋值时要小心,它遵循“末尾者胜出”的原则,重复的值是无效的。
Be careful when assigning values to the "id" attribute of the "action" element; any duplication here will silently fail, essentially creating a "last one wins" solution.
为“action”元素的“id”属性赋值时要小心,它遵循“末尾者胜出”的原则,重复的值是无效的。
应用推荐