MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / format

Method format

src/main/java/org/htmlunit/WebConsole.java:208–212  ·  view source on GitHub ↗
(final Context cx, final VarScope scope, final Object[] args)

Source from the content-addressed store, hash-verified

206 }
207
208 private static String format(final Context cx, final VarScope scope, final Object[] args) {
209 String msg = NativeConsole.format(cx, scope, args);
210 msg = msg.replaceAll("\\r?\\n", "\n");
211 return msg;
212 }
213
214 private void readObject(final ObjectInputStream ois) throws ClassNotFoundException, IOException {
215 ois.defaultReadObject();

Callers 1

printMethod · 0.95

Calls 1

replaceAllMethod · 0.80

Tested by

no test coverage detected