diff --git a/arduino-core/src/processing/app/legacy/PApplet.java b/arduino-core/src/processing/app/legacy/PApplet.java index 071247f55..4f91ceca7 100644 --- a/arduino-core/src/processing/app/legacy/PApplet.java +++ b/arduino-core/src/processing/app/legacy/PApplet.java @@ -480,7 +480,7 @@ public class PApplet { } String[][] matches = new String[results.size()][count]; for (int i = 0; i < matches.length; i++) { - matches[i] = (String[]) results.get(i); + matches[i] = results.get(i); } return matches; }