Skip to content

Commit d910072

Browse files
authored
Update 06_The_Principle_of_Indecent_Exposure.md
1 parent c9c5e94 commit d910072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ch06/06_The_Principle_of_Indecent_Exposure.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ at InnocentClient.main(InnocentClient.java:7)
8888
> 从不公开暴露一个阵列,其中组件不具有可调整类型。
8989
9090
再次,这是一种情况,在程序的一部分中未经检查的转换可能导致在完全不同的部分发生类转换错误,其中转换不会出现在源代码中,而是通过擦除引入。由于此类错误
91-
可能会非常混乱,因此必须谨慎使用未经检查的演员表
91+
可能会非常混乱,因此必须谨慎使用未经检查的列表
9292

9393
广告真相原则与不雅暴露原则密切相关。第一个要求数组的运行时类型被适当地赋值,第二个要求数组的编译时类型必须是可赋值的。
9494

0 commit comments

Comments
 (0)