-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring (in
DialogContext
): Nutze Konstruktor statt statischer …
…Methode, die dann nur K'tor aufruft Laut Historie in Git kam die Klasse `DialogContext` mit Commit 500f075 und hatte dort bereits die statische Methode `create` sowie einen privaten Konstruktur ohne Parameter, der dadurch gekapselt wird. Jedoch ruft `create` ausschließlich der Konstruktur auf und setzt die übergebenen Parameter in der neu erzeugten Objektinstanz. Es existiert keine zusätzliche Logik (z.B. Singleton o.ä.), wodurch diese Indirektion notwendig wäre.
- Loading branch information
1 parent
7072e1f
commit d8f87a6
Showing
4 changed files
with
14 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters