Created
October 21, 2015 15:58
-
-
Save tuphamphuong/7c812d79ceaea00dde28 to your computer and use it in GitHub Desktop.
Simple factory method in Java
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
public static TemplateService createTemplateService() { | |
return new TemplateService(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment