
19 Jul
2019
19 Jul
'19
12:12 a.m.
commit 76b81bcf77be01565365833ade805397ed093dc9 Author: David Fifield <david@bamsoftware.com> Date: Thu Jul 18 16:32:56 2019 -0600 Remove unused Params.getString. --- proxy/util.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/proxy/util.js b/proxy/util.js index c237734..3235f79 100644 --- a/proxy/util.js +++ b/proxy/util.js @@ -238,17 +238,6 @@ class Params { return Parse.byteCount(spec); } - // Get an object value and return it as a string. Returns default_val if param - // is not a key. - static getString(query, param, defaultValue) { - var val; - val = query[param]; - if (void 0 === val) { - return defaultValue; - } - return val; - } - }
2158
Age (days ago)
2158
Last active (days ago)
0 comments
1 participants
participants (1)
-
dcf@torproject.org