Netbeans errors

  • Malcolm Lidierth

    This is a great library. But in Netbeans I am seeing a handful of compilation errors, all of the following types and all relating to the various "create" factory methods:


    public static <T extends="" ContinuousCurve2D=""> PolyCurve2D<T> create(
    Collection<T> curves)....

    name clash: <T#1>create(Collection<T#1>) in PolyCurve2D and <T#2>create(Collection<T#2>) in CurveArray2D have the same erasure, yet neither hides the other
    where T#1,T#2 are type-variables:
    T#1 extends ContinuousCurve2D declared in method <T#1>create(Collection<T#1>)
    T#2 extends Curve2D declared in method <T#2>create(Collection<T#2>)

    Last edit: Malcolm Lidierth 2013-04-01
  • David

    David - 2013-04-02

    Hi Malcolm,

    thank you for reporting the problem,

    I did not encounter the problem with Eclipse, but if you can not compile this is a problem. I suppose the problems comes from multiple generic definition from parent classes. I will try to investigate this.



Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks