MCPcopy Create free account
hub / github.com/apache/tomcat / min

Method min

java/org/apache/jasper/runtime/JspWriterImpl.java:209–211  ·  view source on GitHub ↗

Our own little min method, to avoid loading java.lang.Math if we've run out of file descriptors, and we're trying to print a stack trace.

(int a, int b)

Source from the content-addressed store, hash-verified

207 * to print a stack trace.
208 */
209 private static int min(int a, int b) {
210 return Math.min(a, b);
211 }
212
213 @Override
214 public void write(char[] cbuf, int off, int len) throws IOException {

Callers 3

writeMethod · 0.95
JavacErrorDetailMethod · 0.45
visitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected