mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Remove unused Params.getString.
This commit is contained in:
parent
c1f6548602
commit
76b81bcf77
1 changed files with 0 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue