Remove extraneous case
condition
In commit 72300f97 the code for the `String` condition was simplified, and it's now the same as the code for the `*PERMITTED_TYPES` condition, and `String` is one of the `PERMITTED_TYPES` so we can just eliminate this condition and let `*PERMITTED_TYPES` cover it.
This commit is contained in:
parent
2d069be22b
commit
fb1dcea6f3
@ -110,8 +110,6 @@ def serialize_argument(argument)
|
||||
|
||||
def deserialize_argument(argument)
|
||||
case argument
|
||||
when String
|
||||
argument
|
||||
when *PERMITTED_TYPES
|
||||
argument
|
||||
when BigDecimal # BigDecimal may have been legacy serialized; Remove in 7.2
|
||||
|
Loading…
Reference in New Issue
Block a user