You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/07/15 11:50:45 UTC

[GitHub] [iotdb] limeng32 opened a new issue #3582: 发现两个类的单例实现可以优化

limeng32 opened a new issue #3582:
URL: https://github.com/apache/iotdb/issues/3582


   大家好,这次是在自动化扫描代码时报出两个类有点缺陷,仔细看是这两个类的单例模式采用饿汉模式来实现,但这个是有一点点隐患的,我打算像其它大部分类一样把它们改成了静态内部类方式。这两个类文件是:UpgradeSevice.java和TVListAllocator.java。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] HTHou closed issue #3582: 发现两个类的单例实现可以优化

Posted by GitBox <gi...@apache.org>.
HTHou closed issue #3582:
URL: https://github.com/apache/iotdb/issues/3582


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org