mirror of
https://github.com/processing/processing4.git
synced 2026-02-19 21:35:55 +01:00
Optimize creation of boxed primitives
This commit is contained in:
@@ -577,7 +577,7 @@ public class JavaEditor extends Editor {
|
||||
Object value = optionPane.getValue();
|
||||
if (value.equals(options[0])) {
|
||||
return jmode.handleExportApplication(sketch);
|
||||
} else if (value.equals(options[1]) || value.equals(new Integer(-1))) {
|
||||
} else if (value.equals(options[1]) || value.equals(Integer.valueOf(-1))) {
|
||||
// closed window by hitting Cancel or ESC
|
||||
statusNotice("Export to Application canceled.");
|
||||
}
|
||||
@@ -832,4 +832,4 @@ public class JavaEditor extends Editor {
|
||||
//jmode.handleStop();
|
||||
handleStop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user