提交 cd20e7a3 编写于 作者: I Ilkka Seppälä

Minor readme fixes

上级 7f29c245
...@@ -101,7 +101,7 @@ public class ConfigureForUnixVisitor implements ZoomVisitor { ...@@ -101,7 +101,7 @@ public class ConfigureForUnixVisitor implements ZoomVisitor {
} }
``` ```
Finally here are the visitors in action. Finally, here are the visitors in action.
```java ```java
var conUnix = new ConfigureForUnixVisitor(); var conUnix = new ConfigureForUnixVisitor();
......
...@@ -12,9 +12,8 @@ tags: ...@@ -12,9 +12,8 @@ tags:
Wrapper Wrapper
## Intent ## Intent
Convert the interface of a class into another interface the clients Convert the interface of a class into another interface the clients expect. Adapter lets classes work together that
expect. Adapter lets classes work together that couldn't otherwise because of couldn't otherwise because of incompatible interfaces.
incompatible interfaces.
## Explanation ## Explanation
......
...@@ -17,7 +17,7 @@ The user makes a single call to the aggregator service, and the aggregator then ...@@ -17,7 +17,7 @@ The user makes a single call to the aggregator service, and the aggregator then
Real world example Real world example
> Our web marketplace needs information about products and their current inventory. It makes a call to an aggregator > Our web marketplace needs information about products and their current inventory. It makes a call to an aggregator
> service that in turn calls the product information microservice and product inventory microservice returning the > service which in turn calls the product information microservice and product inventory microservice returning the
> combined information. > combined information.
In plain words In plain words
...@@ -41,7 +41,7 @@ public class Product { ...@@ -41,7 +41,7 @@ public class Product {
} }
``` ```
Next we can introduct our `Aggregator` microservice. It contains clients `ProductInformationClient` and Next we can introduce our `Aggregator` microservice. It contains clients `ProductInformationClient` and
`ProductInventoryClient` for calling respective microservices. `ProductInventoryClient` for calling respective microservices.
```java ```java
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册