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

Method pre

java/libraries/serial/src/processing/serial/Serial.java:175–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173
174
175 public void pre() {
176 if (serialAvailableMethod != null && invokeSerialAvailable) {
177 invokeSerialAvailable = false;
178 try {
179 serialAvailableMethod.invoke(parent, this);
180 } catch (Exception e) {
181 System.err.println("Error, disabling serialAvailable() for "+port.getPortName());
182 System.err.println(e.getLocalizedMessage());
183 serialAvailableMethod = null;
184 }
185 }
186 }
187
188
189 /**

Callers

nothing calls this directly

Calls 1

printlnMethod · 0.45

Tested by

no test coverage detected