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

cleanup - explicit Object extending

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