We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fad4c7 commit ae19fcaCopy full SHA for ae19fca
src/main/java/adapter/README.md
@@ -1,6 +1,6 @@
1
# Adapter Pattern
2
3
-Let say we have a simple interface like a `Logger`
+Let's say we have a simple interface like a `Logger`
4
5
```java
6
interface Logger {
@@ -25,7 +25,7 @@ interface Logger2 {
25
```
26
27
and we want to use that new interface `Logger2` with the method `sayHello()`.
28
-Obviously, we can not directly call `sayHello` with a `Logger2`, we need to do an adaptation work.
+Obviously, we can not directly call `sayHello` with a `Logger2`, we need to do adaptation work.
29
30
## Adapter when we do not control Logger2
31
0 commit comments