Skip to content

Commit ec833c6

Browse files
committed
Refactor
1 parent cfdaee1 commit ec833c6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/java/org/prebid/server/auction/IpAddressHelper.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ public class IpAddressHelper {
2020
^\
2121
(?:[1-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.\
2222
(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){2}\
23-
(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$
24-
""".strip());
23+
(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$""");
2524
private static final IPAddressStringParameters IP_ADDRESS_VALIDATION_OPTIONS =
2625
IPAddressString.DEFAULT_VALIDATION_OPTIONS.toBuilder()
2726
.allowSingleSegment(false)

0 commit comments

Comments
 (0)