projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosuilib: Eliminate a couple java compiler warnings
[fw/altos]
/
altosuilib
/
AltosUIConfigure.java
diff --git
a/altosuilib/AltosUIConfigure.java
b/altosuilib/AltosUIConfigure.java
index e61b5d5205d96d15dc5816c0c6663188fa437d35..8f68793e2ec8b4c8dcdb8d0f845ea03b48e10f10 100644
(file)
--- a/
altosuilib/AltosUIConfigure.java
+++ b/
altosuilib/AltosUIConfigure.java
@@
-240,12
+240,12
@@
public class AltosUIConfigure
AltosUIPreferences.set_map_cache(size);
} catch (ClassCastException ce) {
AltosUIPreferences.set_map_cache(size);
} catch (ClassCastException ce) {
- map_cache.setSelectedItem(
new Integer(AltosUIPreferences.map_cache()
));
+ map_cache.setSelectedItem(
AltosUIPreferences.map_cache(
));
}
}
});
}
}
});
- map_cache.setSelectedItem (
new Integer(AltosUIPreferences.map_cache()
));
+ map_cache.setSelectedItem (
AltosUIPreferences.map_cache(
));
pane.add(map_cache, constraints(1, 2, GridBagConstraints.BOTH));
row++;
}
pane.add(map_cache, constraints(1, 2, GridBagConstraints.BOTH));
row++;
}