mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
deal with the empty sketch case
This commit is contained in:
@@ -260,7 +260,7 @@ public class JavaBuild {
|
||||
|
||||
// Remove the entries being moved to settings(). They will be re-inserted
|
||||
// by writeFooter() when it emits the settings() method.
|
||||
if (sizeInfo != null) {
|
||||
if (sizeInfo != null && sizeInfo.hasSettings()) {
|
||||
// String sizeStatement = sizeInfo.getStatement();
|
||||
for (String stmt : sizeInfo.getStatements()) {
|
||||
// if (sizeStatement != null) {
|
||||
|
||||
Reference in New Issue
Block a user