Project

General

Profile

Actions

Refactor #34566

closed

Rewrite validate_ip to use a case statement

Added by Ewoud Kohl van Wijngaarden about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Core
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

A case statement makes the current code easier to understand and slightly more efficient.

Actions

Also available in: Atom PDF