Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org.wltea.analyzer.cfgDefaultConfig singleton #121

Open
GoogleCodeExporter opened this issue Nov 14, 2015 · 1 comment
Open

org.wltea.analyzer.cfgDefaultConfig singleton #121

GoogleCodeExporter opened this issue Nov 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

i think this class is not singleton. is it wrong?


Original issue reported on code.google.com by Chou.Na....@gmail.com on 29 Aug 2013 at 7:06

@GoogleCodeExporter
Copy link
Author

       /**
     * 返回单例
     * @return Configuration单例
     */
    public static Configuration getInstance(){
        return new DefaultConfig();
    }
这不是单例啊,是不是写错了?

Original comment by Chou.Na....@gmail.com on 29 Aug 2013 at 7:15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant