From 8c1cfbf3b30d88d856fbd0685163a11b245ba99e Mon Sep 17 00:00:00 2001 From: fsun1 Date: Tue, 19 Nov 2024 21:50:04 -0800 Subject: [PATCH] update see href --- .../src/main/java/com/ebay/ejmask/api/IPatternBuilder.java | 1 - .../extenstion/builder/json/JsonBooleanFieldPatternBuilder.java | 2 +- .../ejmask/extenstion/builder/json/JsonFieldPatternBuilder.java | 2 +- .../extenstion/builder/json/JsonNumericFieldPatternBuilder.java | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ejmask-api/src/main/java/com/ebay/ejmask/api/IPatternBuilder.java b/ejmask-api/src/main/java/com/ebay/ejmask/api/IPatternBuilder.java index e1569ff..4628150 100644 --- a/ejmask-api/src/main/java/com/ebay/ejmask/api/IPatternBuilder.java +++ b/ejmask-api/src/main/java/com/ebay/ejmask/api/IPatternBuilder.java @@ -1,6 +1,5 @@ package com.ebay.ejmask.api; -import java.util.ArrayList; import java.util.Arrays; import java.util.List; diff --git a/ejmask-extensions/src/main/java/com/ebay/ejmask/extenstion/builder/json/JsonBooleanFieldPatternBuilder.java b/ejmask-extensions/src/main/java/com/ebay/ejmask/extenstion/builder/json/JsonBooleanFieldPatternBuilder.java index f67ad19..37eddfb 100644 --- a/ejmask-extensions/src/main/java/com/ebay/ejmask/extenstion/builder/json/JsonBooleanFieldPatternBuilder.java +++ b/ejmask-extensions/src/main/java/com/ebay/ejmask/extenstion/builder/json/JsonBooleanFieldPatternBuilder.java @@ -34,7 +34,7 @@ public class JsonBooleanFieldPatternBuilder extends AbstractRegexPatternBuilder private static final List PATTERN_ENTITY_LIST = Arrays.asList( /** * Boolean field with value to be masked - * @link https://regex101.com/r/AEwc99/1 + * @see Regular Expresseion For Testing */ new PatternEntity("\\\"(%s)(\\\\*\\\"\\s*:\\s*\\\\*)(\\b(true|TRUE|True|false|FALSE|False)\\b)([^\\\"]{1,3})[^\\\"]*(\\\\?\\\"|)", "\"$1$2\"xxxx\"$5$6") ); diff --git a/ejmask-extensions/src/main/java/com/ebay/ejmask/extenstion/builder/json/JsonFieldPatternBuilder.java b/ejmask-extensions/src/main/java/com/ebay/ejmask/extenstion/builder/json/JsonFieldPatternBuilder.java index f356080..7ffc1bd 100644 --- a/ejmask-extensions/src/main/java/com/ebay/ejmask/extenstion/builder/json/JsonFieldPatternBuilder.java +++ b/ejmask-extensions/src/main/java/com/ebay/ejmask/extenstion/builder/json/JsonFieldPatternBuilder.java @@ -34,7 +34,7 @@ public class JsonFieldPatternBuilder extends AbstractRegexPatternBuilder { private static final List PATTERN_ENTITY_LIST = Arrays.asList( /** * String field with value to be masked - * @link https://regex101.com/r/ZDQWod/5 + * @see Regular Expresseion For Testing */ new PatternEntity("\\\"(%s)(\\\\*\\\"\\s*:\\s*\\\\*\\\")([^\\\"]{1,%d})[^\\\"]*(\\\\?\\\"|)", "\"$1$2$3-xxxx$4") ); diff --git a/ejmask-extensions/src/main/java/com/ebay/ejmask/extenstion/builder/json/JsonNumericFieldPatternBuilder.java b/ejmask-extensions/src/main/java/com/ebay/ejmask/extenstion/builder/json/JsonNumericFieldPatternBuilder.java index b3c71d9..0299fcd 100644 --- a/ejmask-extensions/src/main/java/com/ebay/ejmask/extenstion/builder/json/JsonNumericFieldPatternBuilder.java +++ b/ejmask-extensions/src/main/java/com/ebay/ejmask/extenstion/builder/json/JsonNumericFieldPatternBuilder.java @@ -34,7 +34,7 @@ public class JsonNumericFieldPatternBuilder extends AbstractRegexPatternBuilder private static final List PATTERN_ENTITY_LIST = Arrays.asList( /** * Numeric field with value to be masked - * @link https://regex101.com/r/rOeErB/1 + * @see Regular Expresseion For Testing */ new PatternEntity("\\\"(%s)(\\\\*\\\"\\s*:\\s*\\\\*)(-?\\b\\d+(\\.\\d+)?(e-?\\d+)?\\b)([^\\\"]{1,2})", "\"$1$2\"xxxx\"$6") );