We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0385fd7 commit 5d56579Copy full SHA for 5d56579
1 file changed
java/src/processing/mode/java/JavaBuild.java
@@ -260,7 +260,7 @@ public String preprocess(File srcFolder,
260
261
// Remove the entries being moved to settings(). They will be re-inserted
262
// by writeFooter() when it emits the settings() method.
263
- if (sizeInfo != null) {
+ if (sizeInfo != null && sizeInfo.hasSettings()) {
264
// String sizeStatement = sizeInfo.getStatement();
265
for (String stmt : sizeInfo.getStatements()) {
266
// if (sizeStatement != null) {
0 commit comments