Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 494822

Summary: Pass a range specification unconditionally
Product: [Eclipse Project] Equinox Reporter: Mykola Nikishov <mn>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: tjwatson
Version: unspecified   
Target Milestone: Oxygen M2   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=266243
https://git.eclipse.org/r/73862
Whiteboard:

Description Mykola Nikishov CLA 2016-05-28 05:20:07 EDT
When sending request for transfer of a remote file to local file storage
from FileReader.sendRetrieveRequest(URI, OutputStream, DownloadRange,
boolean, IProgressMonitor), drop redundant null check for DownloadRange
parameter and pass it to IRetrieveFileTransferContainerAdapter's
sendRetrieveRequest(IFileID, IFileRangeSpecification,
IFileTransferListener, Map) as is.
Comment 1 Thomas Watson CLA 2016-08-17 16:03:24 EDT
Fixed for Oxygen M2.