mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Merge branch 'master' of https://github.com/processing/processing.git
This commit is contained in:
@@ -4501,13 +4501,17 @@ public class PApplet extends Applet
|
||||
|
||||
|
||||
/**
|
||||
* Use printArray() instead. This function causes a warning because the new
|
||||
* print(Object...) and println(Object...) functions can't be reliably
|
||||
* bound by the compiler.
|
||||
* For arrays, use printArray() instead. This function causes a warning
|
||||
* because the new print(Object...) and println(Object...) functions can't
|
||||
* be reliably bound by the compiler.
|
||||
*/
|
||||
@Deprecated
|
||||
static public void println(Object what) {
|
||||
printArray(what);
|
||||
if (what != null && what.getClass().isArray()) {
|
||||
printArray(what);
|
||||
} else {
|
||||
System.out.println(what.toString());
|
||||
System.out.flush();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user