Remove mention of CapturingMapFn from error messages.
CapturingMapFn was deleted in
Closes
@@ -100,7 +100,7 @@ public class NestedSetFingerprintCache {
throw new IllegalArgumentException(
String.format(
"Too many instances of CommandLineItem.ParametrizedMapFn '%s' detected. "
- + "Please construct fewer instances or use CommandLineItem.CapturingMapFn.",
+ + "Please construct fewer instances.",
mapFnClass.getName()));
}
} else {
@@ -109,8 +109,7 @@ public class NestedSetFingerprintCache {
String.format(
"Illegal mapFn implementation: '%s'. "
+ "CommandLineItem.MapFn instances must be singletons."
- + "Please see CommandLineItem.ParametrizedMapFn or "
- + "CommandLineItem.CapturingMapFn for alternatives.",
+ + "Please see CommandLineItem.ParametrizedMapFn for an alternative.",
mapFnClass.getName()));
}
}
