Under Eclipse, Logisim 2.5 fails to compile
Brought to you by:
carlburch
Eclipse Helios reports 2 errors in com.cburch.logisim.data.Attributes, relating to the prototype of toDisplayString. It appears that these methods should have "generics-aware" prototypes. See the attached fix:
191c191
< public String toDisplayString(Object value) {
---
> public String toDisplayString(V value) {
284c284
< public String toDisplayString(Object value) {
---
> public String toDisplayString(Boolean value) {
344,345c344,345
< public String toDisplayString(Object value) {
< return ((Direction) value).toDisplayString();
---
> public String toDisplayString(Direction value) {
> return value.toDisplayString();
Patch that fixes the issue
Addressed in 2.5.1, just released. Thanks for the report.