mirror of
https://github.com/Jueee/effective-Java.git
synced 2024-12-25 20:30:08 +08:00
3f63d1e578
Bumps [junit](https://github.com/junit-team/junit4) from 3.8.1 to 4.13.1. - [Release notes](https://github.com/junit-team/junit4/releases) - [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md) - [Commits](https://github.com/junit-team/junit4/commits/r4.13.1) Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.. | ||
CreatingAndDestroyingObjects | ||
01.考虑使用静态工厂方法替代构造方法.md | ||
02.当构造方法参数过多时使用builder模式.md | ||
03.使用私有构造方法或枚类实现Singleton属性.md | ||
04.使用私有构造方法执行非实例化.md | ||
05.使用依赖注入取代硬连接资源.md | ||
06.避免创建不必要的对象.md | ||
07.消除过期的对象引用.md | ||
08.避免使用Finalizer和Cleaner机制.md | ||
09.使用try-with-resources语句替代try-finally语句.md |