Flattening nested if in poky.kv.jdbc.
Flattening nested if in poky.protocol.http.