Skip to content

Commit ca01f50

Browse files
authored
Update spring-design-patterns-summary.md
279行,包装器是装饰者的别名,不是适配器;应是笔误
1 parent 4b9dbce commit ca01f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/system-design/framework/spring/spring-design-patterns-summary.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public class DemoPublisher {
276276

277277
## 适配器模式
278278

279-
适配器模式(Adapter Pattern) 将一个接口转换成客户希望的另一个接口,适配器模式使接口不兼容的那些类可以一起工作,其别名为包装器(Wrapper)
279+
适配器模式(Adapter Pattern) 将一个接口转换成客户希望的另一个接口,适配器模式使接口不兼容的那些类可以一起工作。
280280

281281
### spring AOP中的适配器模式
282282

0 commit comments

Comments
 (0)