Menu

#61 Under Eclipse, Logisim 2.5 fails to compile

closed-fixed
5
2010-09-02
2010-08-30
No

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();

Discussion

  • Christophe Jacquet

    Patch that fixes the issue

     
  • Carl Burch

    Carl Burch - 2010-09-02
    • status: open --> closed-fixed
     
  • Carl Burch

    Carl Burch - 2010-09-02

    Addressed in 2.5.1, just released. Thanks for the report.

     

Log in to post a comment.

Auth0 Logo