提交 af4738bb authored 作者: Jacek Ławrynowicz's avatar Jacek Ławrynowicz

cleanup - explicit Object extending

上级 40c61d60
......@@ -941,8 +941,7 @@ public final class DataUtils {
* @return the parsed value
* @throws IllegalStateException if parsing fails
*/
public static long readHexLong(Map<String, ? extends Object> map,
String key, long defaultValue) {
public static long readHexLong(Map<String, ?> map, String key, long defaultValue) {
Object v = map.get(key);
if (v == null) {
return defaultValue;
......@@ -1006,8 +1005,7 @@ public final class DataUtils {
* @return the parsed value
* @throws IllegalStateException if parsing fails
*/
public static int readHexInt(HashMap<String, ? extends Object> map,
String key, int defaultValue) {
public static int readHexInt(HashMap<String, ?> map, String key, int defaultValue) {
Object v = map.get(key);
if (v == null) {
return defaultValue;
......
......@@ -90,7 +90,7 @@ public class TempFileDeleter {
*/
public void deleteUnused() {
while (queue != null) {
Reference<? extends Object> ref = queue.poll();
Reference<?> ref = queue.poll();
if (ref == null) {
break;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论