1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-10-18 20:25:59 +02:00

[sinttest] Configuration.normalizeSpecification() should be public

It is likely to be desirable to re-use the normalization of specification references, for example in implementations of `TestRunResultProcessor`.
This commit is contained in:
Guus der Kinderen 2024-05-10 15:01:44 +02:00
parent e79429e052
commit 4cc9a7d7eb

View file

@ -769,7 +769,7 @@ public final class Configuration {
return disabledSpecifications.contains(normalizeSpecification(specification)); return disabledSpecifications.contains(normalizeSpecification(specification));
} }
static String normalizeSpecification(String specification) { public static String normalizeSpecification(String specification) {
if (specification == null || specification.isBlank()) { if (specification == null || specification.isBlank()) {
return null; return null;
} }