simoge / ik-analyzer

Automatically exported from code.google.com/p/ik-analyzer
0 stars 0 forks source link

org.wltea.analyzer.cfgDefaultConfig singleton #121

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago
       /**
     * 返回单例
     * @return Configuration单例
     */
    public static Configuration getInstance(){
        return new DefaultConfig();
    }
这不是单例啊,是不是写错了?

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