Merge pull request #7237 from APriestman/fixNormalizationCutAndPasteErrors

Fix cut-and-paste errors in CorrelationAttributeNormalizationException
This commit is contained in:
Richard Cordovano 2021-09-07 16:17:24 -04:00 committed by GitHub
commit d77e681b5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -282,7 +282,7 @@ final public class CorrelationAttributeNormalizer {
if (imsiWithoutSeperators.matches(validImsiRegex)) { if (imsiWithoutSeperators.matches(validImsiRegex)) {
return imsiWithoutSeperators; return imsiWithoutSeperators;
} else { } else {
throw new CorrelationAttributeNormalizationException("Data provided was not a valid Imsi. : " + data); throw new CorrelationAttributeNormalizationException("Data provided was not a valid IMSI. : " + data);
} }
} }
@ -306,7 +306,7 @@ final public class CorrelationAttributeNormalizer {
if (macWithoutSeperators.matches(validMacRegex)) { if (macWithoutSeperators.matches(validMacRegex)) {
return macWithoutSeperators; return macWithoutSeperators;
} else { } else {
throw new CorrelationAttributeNormalizationException("Data provided was not a valid Imsi. : " + data); throw new CorrelationAttributeNormalizationException("Data provided was not a valid MAC address. : " + data);
} }
} }
@ -335,7 +335,7 @@ final public class CorrelationAttributeNormalizer {
if (imeiWithoutSeperators.matches(validImeiRegex)) { if (imeiWithoutSeperators.matches(validImeiRegex)) {
return imeiWithoutSeperators; return imeiWithoutSeperators;
} else { } else {
throw new CorrelationAttributeNormalizationException("Data provided was not a valid Imsi. : " + data); throw new CorrelationAttributeNormalizationException("Data provided was not a valid IMEI. : " + data);
} }
} }