Grammar fixes for strategy
This commit is contained in:
@@ -31,7 +31,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
* enables an algorithm's behavior to be selected at runtime.</p>
|
||||
*
|
||||
* <p>Before Java 8 the Strategies needed to be separate classes forcing the developer
|
||||
* to write lots of boilerplate code. With modern Java it is easy to pass behavior
|
||||
* to write lots of boilerplate code. With modern Java, it is easy to pass behavior
|
||||
* with method references and lambdas making the code shorter and more readable.</p>
|
||||
*
|
||||
* <p>In this example ({@link DragonSlayingStrategy}) encapsulates an algorithm. The containing
|
||||
|
Reference in New Issue
Block a user