@@ -2602,13 +2602,12 @@ public boolean isOutdated() {
2602
2602
* @param target the name of the target window
2603
2603
* @param request the request to perform
2604
2604
* @param checkHash if true check for hashChenage
2605
- * @param forceLoad if true always load the request even if there is already the same in the queue
2606
2605
* @param forceAttachmentWithFilename if not {@code null} the AttachmentHandler isAttachment() method is not called,
2607
2606
* the response has to be handled as attachment in any case
2608
2607
* @param description information about the origin of the request. Useful for debugging.
2609
2608
*/
2610
2609
public void download (final WebWindow requestingWindow , final String target ,
2611
- final WebRequest request , final boolean checkHash , final boolean forceLoad ,
2610
+ final WebRequest request , final boolean checkHash ,
2612
2611
final String forceAttachmentWithFilename , final String description ) {
2613
2612
2614
2613
final WebWindow targetWindow = resolveWindow (requestingWindow , target );
@@ -2645,9 +2644,7 @@ public void download(final WebWindow requestingWindow, final String target,
2645
2644
final WebRequest otherRequest = otherLoadJob .request_ ;
2646
2645
final URL otherUrl = otherRequest .getUrl ();
2647
2646
2648
- // TODO: investigate but it seems that IE considers query string too but not FF
2649
- if (!forceLoad
2650
- && url .getPath ().equals (otherUrl .getPath ()) // fail fast
2647
+ if (url .getPath ().equals (otherUrl .getPath ()) // fail fast
2651
2648
&& url .toString ().equals (otherUrl .toString ())
2652
2649
&& request .getRequestParameters ().equals (otherRequest .getRequestParameters ())
2653
2650
&& Objects .equals (request .getRequestBody (), otherRequest .getRequestBody ())) {
0 commit comments