Grammatical fixes to command pattern

This commit is contained in:
Ilkka Seppälä
2021-06-09 08:05:24 +03:00
parent bbdff14a66
commit 7a46174391
2 changed files with 11 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ package com.iluwatar.command;
/**
* The Command pattern is a behavioral design pattern in which an object is used to encapsulate all
* information needed to perform an action or trigger an event at a later time. This information
* includes the method name, the object that owns the method and values for the method parameters.
* includes the method name, the object that owns the method, and values for the method parameters.
*
* <p>Four terms always associated with the command pattern are command, receiver, invoker and
* client. A command object (spell) knows about the receiver (target) and invokes a method of the