HDFS-5508. Fix compilation error after merge. (Contributed by szetszwo)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2832@1541352 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Arpit Agarwal 2013-11-13 02:00:41 +00:00
parent ba98e8f737
commit 46cbce9af1
2 changed files with 3 additions and 1 deletions

View File

@ -99,3 +99,5 @@ IMPROVEMENTS:
HDFS-5494. Fix findbugs warnings for HDFS-2832. (Arpit Agarwal) HDFS-5494. Fix findbugs warnings for HDFS-2832. (Arpit Agarwal)
HDFS-5508. Fix compilation error after merge. (Contributed by szetszwo)

View File

@ -414,7 +414,7 @@ public class JsonUtil {
(Object[])m.get("cachedLocations")); (Object[])m.get("cachedLocations"));
final LocatedBlock locatedblock = new LocatedBlock(b, locations, final LocatedBlock locatedblock = new LocatedBlock(b, locations,
startOffset, isCorrupt, cachedLocations); null, null, startOffset, isCorrupt, cachedLocations);
locatedblock.setBlockToken(toBlockToken((Map<?, ?>)m.get("blockToken"))); locatedblock.setBlockToken(toBlockToken((Map<?, ?>)m.get("blockToken")));
return locatedblock; return locatedblock;
} }