Page MenuHomePhabricator

Replace all "setQueryParam()" calls with "remove/replaceQueryParam()"
ClosedPublic

Authored by epriestley on Feb 12 2019, 9:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 10, 2:46 AM
Unknown Object (File)
Tue, Apr 9, 3:03 PM
Unknown Object (File)
Wed, Apr 3, 12:00 PM
Unknown Object (File)
Wed, Apr 3, 12:00 PM
Unknown Object (File)
Tue, Apr 2, 4:11 AM
Unknown Object (File)
Mar 8 2024, 11:08 AM
Unknown Object (File)
Mar 8 2024, 10:48 AM
Unknown Object (File)
Jan 23 2024, 10:47 AM
Subscribers

Details

Summary

Ref T13250. See D20149. Mostly: clarify semantics. Partly: remove magic "null" behavior.

Test Plan

Poked around, but mostly just inspection since these are pretty much one-for-one.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Feb 12 2019, 9:39 PM
Harbormaster failed remote builds in B21964: Diff 48120!

Depends on D20149. In the cases where the second parameter is a variable, there's some possibility that it's sometimes null in some tricky case, although I've tried to look through all the callsites and catch any of this. If this is the case, we'll get an explicit exception shortly ("second parameter to replace must not be null").

This revision is now accepted and ready to land.Feb 14 2019, 7:42 PM
This revision was automatically updated to reflect the committed changes.