mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
fixed java 1.5 compatibility issue
This commit is contained in:
parent
527e07b26f
commit
4076baa81c
@ -1232,7 +1232,7 @@ public class Base {
|
|||||||
for (final String customMenuOption : boardCustomMenu.getKeys()) {
|
for (final String customMenuOption : boardCustomMenu.getKeys()) {
|
||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
Action subAction = new AbstractAction(_(boardCustomMenu.getValueOf(customMenuOption))) {
|
Action subAction = new AbstractAction(_(boardCustomMenu.getValueOf(customMenuOption))) {
|
||||||
@Override
|
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
Preferences.set("target_package", (String) getValue("package"));
|
Preferences.set("target_package", (String) getValue("package"));
|
||||||
Preferences.set("target_platform", (String) getValue("platform"));
|
Preferences.set("target_platform", (String) getValue("platform"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user