Skip to content

Decorator pattern: SmartTroll should be SmartHostile #264 - #340

Merged
iluwatar merged 2 commits into
iluwatar:masterfrom
tomroy:master
Jan 6, 2016
Merged

iluwatar merged 2 commits into
iluwatar:masterfrom
tomroy:master

Conversation

@tomroy

@tomroy tomroy commented Jan 4, 2016

Copy link
Copy Markdown
Contributor

In this request I renamed the SmartTroll-class to SmartHostile and replaced the hardcoded strings in that class to "It throws a rock at you!".
I also updated the class naming in the UML digram.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method should be renamed to testSmartHostile

@iluwatar

iluwatar commented Jan 6, 2016

Copy link
Copy Markdown
Owner

For some reason there are two .png images in etcfolder. Could you remove the other one and rename the correct image to decorator.png?

@iluwatar

iluwatar commented Jan 6, 2016

Copy link
Copy Markdown
Owner

@tomroy you have my review remarks. Once done with the changes, please comment on this thread and I will perform the merge.

@tomroy

tomroy commented Jan 6, 2016

Copy link
Copy Markdown
Contributor Author

@iluwatar I renamed the method to testSmartHostile and left only the correct image named decorator.png.

iluwatar added a commit that referenced this pull request Jan 6, 2016
Decorator pattern: SmartTroll should be SmartHostile #264
@iluwatar
iluwatar merged commit 03e1877 into iluwatar:master Jan 6, 2016
@iluwatar

iluwatar commented Jan 6, 2016

Copy link
Copy Markdown
Owner

Good job @tomroy Thank you for the contribution.

@iluwatar iluwatar modified the milestone: 1.10.0 Apr 3, 2016
pratigya0 pushed a commit to pratigya0/java-design-patterns that referenced this pull request Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants