mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 03:11:08 +01:00
fix typo in RegisteredMethods remove() (#199)
This commit is contained in:
@@ -1416,7 +1416,7 @@ public class PApplet implements PConstants {
|
||||
* Does not shrink array afterwards, silently returns if method not found.
|
||||
*/
|
||||
public void remove(Object object) {
|
||||
if (removals != null) {
|
||||
if (removals == null) {
|
||||
entries.remove(object);
|
||||
} else {
|
||||
// Currently iterating the list of methods, remove this afterwards
|
||||
|
||||
Reference in New Issue
Block a user