MCPcopy Create free account
hub / github.com/apache/bval / message

Method message

bval-jsr/src/main/java/org/apache/bval/util/Exceptions.java:174–178  ·  view source on GitHub ↗
(String format, Consumer<FormatArgs> argsProvider)

Source from the content-addressed store, hash-verified

172 }
173
174 private static Supplier<String> message(String format, Consumer<FormatArgs> argsProvider) {
175 final ObjectWrapper<Object[]> args = new ObjectWrapper<>();
176 argsProvider.accept(args::accept);
177 return () -> String.format(format, args.get());
178 }
179
180 private Exceptions() {
181 }

Callers 2

raiseIfMethod · 0.95
raiseUnlessMethod · 0.95

Calls 3

getMethod · 0.95
acceptMethod · 0.65
formatMethod · 0.45

Tested by

no test coverage detected