Skip to content

Commit d344648

Browse files
author
Vladimir Minkin
committed
Keyword new returned to the comments in places where it was removed by auto-replace.
1 parent e40f5d2 commit d344648

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lib/src/core/Controller.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ part of puremvc;
99
*
1010
* - Remembering which [ICommand]s are intended to handle which [INotification]s.
1111
* - Registering itself as an [IObserver] with the [View] for each [INotification] that it has an [ICommand] mapping for.
12-
* - Creating a instance of the proper [ICommand] to handle a given [INotification] when notified by the [IView].
12+
* - Creating a new instance of the proper [ICommand] to handle a given [INotification] when notified by the [IView].
1313
* - Calling the [ICommand]'s [execute] method, passing in the [INotification].
1414
*
1515
* See [INotification], [ICommand]
@@ -78,7 +78,7 @@ class Controller implements IController {
7878
* Register an [INotification] to [ICommand] mapping with the [Controller].
7979
*
8080
* - Param [noteName] - the name of the [INotification] to associate the [ICommand] with.
81-
* - Param [commandFactory] - a function that creates a instance of the [ICommand].
81+
* - Param [commandFactory] - a function that creates a new instance of the [ICommand].
8282
*/
8383
void registerCommand(String noteName, Function commandFactory) {
8484
if (!hasCommand(noteName)) {

lib/src/interfaces/IController.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ part of puremvc;
99
*
1010
* - Remembering which [ICommand]s are intended to handle which [INotification]s.
1111
* - Registering itself as an [IObserver] with the [View] for each [INotification] that it has an [ICommand] mapping for.
12-
* - Creating a instance of the proper [ICommand] to handle a given [INotification] when notified by the [IView].
12+
* - Creating a new instance of the proper [ICommand] to handle a given [INotification] when notified by the [IView].
1313
* - Calling the [ICommand]'s [execute] method, passing in the [INotification].
1414
*
1515
* See [INotification], [ICommand]
@@ -19,7 +19,7 @@ abstract class IController {
1919
* Register an [INotification] to [ICommand] mapping with the [IController].
2020
*
2121
* - Param [noteName] - the name of the [INotification] to associate the [ICommand] with.
22-
* - Param [commandFactory] - a function that creates a instance of the [ICommand].
22+
* - Param [commandFactory] - a function that creates a new instance of the [ICommand].
2323
*/
2424
void registerCommand(String notificationName, Function commandFactory);
2525

lib/src/interfaces/IFacade.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ abstract class IFacade extends INotifier {
5858
* Register an [INotification] to [ICommand] mapping with the [IController].
5959
*
6060
* - Param [noteName] - the name of the [INotification] to associate the [ICommand] with.
61-
* - Param [commandFactory] - a function that creates a instance of the [ICommand].
61+
* - Param [commandFactory] - a function that creates a new instance of the [ICommand].
6262
*/
6363
void registerCommand(String noteName, Function commandFactory);
6464
void executeCommand(String noteName, [dynamic body = null, String? type]);

lib/src/patterns/facade/Facade.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class Facade implements IFacade {
106106
* Register an [INotification] to [ICommand] mapping with the [Controller].
107107
*
108108
* - Param [noteName] - the name of the [INotification] to associate the [ICommand] with.
109-
* - Param [commandFactory] - a function that creates a instance of the [ICommand].
109+
* - Param [commandFactory] - a function that creates a new instance of the [ICommand].
110110
*/
111111
void registerCommand(String noteName, Function commandFactory) {
112112
controller!.registerCommand(noteName, commandFactory);

0 commit comments

Comments
 (0)