new factory method pattern, for java
# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#	modified:   README.rst
#	new file:   src/main/java/sample/design_pattern/FactoryMethod.java
#
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#	modified:   src/main/java/sample/design_pattern/Command.java
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	src/main/c/State
# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#	modified:   src/main/java/sample/design_pattern/Command.java
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	src/main/c/State