Project

General

Profile

Actions

Refactor #34566

closed

Rewrite validate_ip to use a case statement

Added by Ewoud Kohl van Wijngaarden over 2 years ago. Updated over 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