MCPcopy Index your code
hub / github.com/processing/processing / showWarning

Method showWarning

core/src/processing/core/PGraphics.java:8243–8251  ·  view source on GitHub ↗

Show a renderer error, and keep track of it so that it's only shown once. @param msg the error message (which will be stored for later comparison)

(String msg)

Source from the content-addressed store, hash-verified

8241 * @param msg the error message (which will be stored for later comparison)
8242 */
8243 static public void showWarning(String msg) { // ignore
8244 if (warnings == null) {
8245 warnings = new HashMap<>();
8246 }
8247 if (!warnings.containsKey(msg)) {
8248 System.err.println(msg);
8249 warnings.put(msg, new Object());
8250 }
8251 }
8252
8253
8254 /**

Callers 15

PShaderMethod · 0.95
setMethod · 0.95
consumeUniformsMethod · 0.95
checkPolyTypeMethod · 0.95
beginDrawMethod · 0.95
hintMethod · 0.95
beginContourMethod · 0.95
endContourMethod · 0.95
vertexMethod · 0.95
attribImplMethod · 0.95
loadShapeMethod · 0.95
reportMethod · 0.95

Calls 4

containsKeyMethod · 0.80
formatMethod · 0.65
printlnMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected