java
akai1110
这个作者很懒,什么都没留下…
展开
-
@SuppressWarnings注解
转载至:http://www.cnblogs.com/fsjohnhuang/p/4040785.html一、前言 编码时我们总会发现如下变量未被使用的警告提示: 上述代码编译通过且可以运行,但每行前面的“感叹号”就严重阻碍了我们判断该行是否设置的断点了。这时我们可以在方法前添加 @SuppressWarnings(转载 2017-11-30 12:22:15 · 264 阅读 · 0 评论 -
assertEquals方法
/** * Asserts that two objects are equal. If they are not, an * {@link AssertionError} is thrown with the given message. If * expected and actual are null, * they are considered eq原创 2017-12-01 15:15:08 · 10530 阅读 · 0 评论 -
The type java.util.concurrent.Flow$Publisher cannot be resolved
导入最新的spring源码时(2017.11.24),Description ResourcePath LocationTypeThe type java.util.concurrent.Flow$Publisher cannot be resolved. It is indirectly referenced from required .class filesReact原创 2017-11-24 22:14:37 · 2065 阅读 · 0 评论