You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: adapter/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ Use the Adapter pattern when
102
102
103
103
* You want to use an existing class, and its interface does not match the one you need
104
104
* You want to create a reusable class that cooperates with unrelated or unforeseen classes, that is, classes that don't necessarily have compatible interfaces
105
-
* You need to use several existing subclasses, but it's impractical to adapt their interface by subclassingevery one. An object adapter can adapt the interface of its parent class.
105
+
* You need to use several existing subclasses, but it's impractical to adapt their interface by subclassingeveryone. An object adapter can adapt the interface of its parent class.
106
106
* Most of the applications using third-party libraries use adapters as a middle layer between the application and the 3rd party library to decouple the application from the library. If another library has to be used only an adapter for the new library is required without having to change the application code.