在我查阅部分开源项目的源码过程中,经常发现有注释与代码行为不一致的情况,甚至部分注释是错误的,下方参考链接记录处理过的相关问题。
Reference
Optimize the comment about class loader by tianshuang · Pull Request #455 · apache/tomcat · GitHub
修复 ArthasClassloader.java 中的注释错误 by tianshuang · Pull Request #1831 · alibaba/arthas · GitHub
About the comment of org.apache.tomcat.util.threads.TaskQueue