PackWriter: Fix warning about untyped collection
Change-Id: I44699d8ab9768844ba91f7224a7d4ee685c93ce6 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
parent
5fc0f1043b
commit
4275c4c1cf
|
@ -1106,8 +1106,8 @@ private void findObjectsToPack(final ProgressMonitor countingMonitor,
|
|||
if (have == null)
|
||||
have = Collections.emptySet();
|
||||
|
||||
stats.interestingObjects = Collections.unmodifiableSet(new HashSet(want));
|
||||
stats.uninterestingObjects = Collections.unmodifiableSet(new HashSet(have));
|
||||
stats.interestingObjects = Collections.unmodifiableSet(new HashSet<ObjectId>(want));
|
||||
stats.uninterestingObjects = Collections.unmodifiableSet(new HashSet<ObjectId>(have));
|
||||
|
||||
List<ObjectId> all = new ArrayList<ObjectId>(want.size() + have.size());
|
||||
all.addAll(want);
|
||||
|
|
Loading…
Reference in New Issue