Skip to content

Factory and Abstract Factory changes - #377

Merged
iluwatar merged 4 commits into
masterfrom
FactoryMethodChanges
Feb 20, 2016
Merged

iluwatar merged 4 commits into
masterfrom
FactoryMethodChanges

Conversation

@npathai

@npathai npathai commented Feb 12, 2016

Copy link
Copy Markdown
Contributor

I have made a few changes to Factory and Abstract factory while I was understanding example for lambda implementation.

Changes:

  • Removed raw type warning from test case
  • Made factory method example more understandable by injecting dependency of Blacksmith from outside, that makes it closer to real application scenario where the exact implementation is injected from outside based on configuration or environment.

Let me know if we can improve this further or doubts

iluwatar added a commit that referenced this pull request Feb 20, 2016
Factory and Abstract Factory changes
@iluwatar
iluwatar merged commit ea81ef7 into master Feb 20, 2016
@npathai
npathai deleted the FactoryMethodChanges branch March 1, 2016 11:59
@iluwatar iluwatar modified the milestone: 1.11.0 Apr 3, 2016
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.

2 participants