[SANDBOX][GRAPH] Eclipse vs. latest version

2012-01-26 Thread Claudio Squarcella
Hi all, I am experiencing a rather annoying issue with the latest version of commons-graph on Eclipse. Compiling with javac (maven, command line) it works fine, but the editor still complains: e.g. line 72 of the new FordFulkersonTestCase[1] gives a list of errors[2]. Now, I know from

Re: [SANDBOX][GRAPH] Eclipse vs. latest version

2012-01-26 Thread Claudio Squarcella
P.S. for completeness: Eclipse version: Indigo Service Release 1 Build id: 20110916-0149 OS: Mac OS X Lion Cheers, Claudio On 26/01/2012 15:30, Claudio Squarcella wrote: Hi all, I am experiencing a rather annoying issue with the latest version of commons-graph on Eclipse. Compiling with

Re: [SANDBOX][GRAPH] Eclipse vs. latest version

2012-01-26 Thread Simone Tripodi
Hi Claudio!!! thanks for reporting, I have indeed the same issue - even if I thought was just an Eclipse bug! I honestly don't know how to fix the problem, I hope someone in the ML can provide a solution as well - same behavior met in IntelliJ!!! All the best, -Simo

Re: [SANDBOX][GRAPH] Eclipse vs. latest version

2012-01-26 Thread Matt Benson
Whew... I hope you guys love me. :P I decided to take a look just because I've had to play with Eclipse before on issues like this. What I typically find is that Eclipse has a sane reason for complaining where it does. This time I *really* thought Eclipse was wrong... but check this out: In

Re: [SANDBOX][GRAPH] Eclipse vs. latest version

2012-01-26 Thread Simone Tripodi
Terrific feedbacks - like always! - Matt, thanks a lot, very appreciated!!! We do - at least, I - love you! :D on.  I can only surmise that the Oracle (?) compiler may take the subsequent method calls into account when trying to infer type parameters from arguments, perhaps. I am using the

Re: [SANDBOX][GRAPH] Eclipse vs. latest version

2012-01-26 Thread Simone Tripodi
FIXED Emanuele Lombardi, a former colleague of mine, simply did -public static V extends Vertex, W, WE extends WeightedEdgeW, G extends GraphV, WE SpanningTreeSourceSelectorV, W, WE, G minimumSpanningTree( G graph ) +public static V extends Vertex, WE extends WeightedEdgeW, W, G

Re: [SANDBOX][GRAPH] Eclipse vs. latest version

2012-01-26 Thread Matt Benson
On Thu, Jan 26, 2012 at 11:01 AM, Simone Tripodi simonetrip...@apache.org wrote: FIXED Emanuele Lombardi, a former colleague of mine, simply did -    public static V extends Vertex, W, WE extends WeightedEdgeW, G extends GraphV, WE SpanningTreeSourceSelectorV, W, WE, G

Re: [SANDBOX][GRAPH] Eclipse vs. latest version

2012-01-26 Thread Simone Tripodi
ouch :( :( I suspect the trick just works on IntelliJ... ;( thanks for the feedbacks!!! -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Thu, Jan 26, 2012 at 6:05 PM, Matt Benson

Re: [SANDBOX][GRAPH] Eclipse vs. latest version

2012-01-26 Thread Claudio Squarcella
On 26/01/2012 18:05, Matt Benson wrote: On Thu, Jan 26, 2012 at 11:01 AM, Simone Tripodi simonetrip...@apache.org wrote: FIXED Emanuele Lombardi, a former colleague of mine, simply did -public staticV extends Vertex, W, WE extends WeightedEdgeW, G extends GraphV, WE