From: Lorenz B. <bue...@in...> - 2014-11-27 12:35:36
|
Just one comment, I know that it's possible to fix this error with this.annotations = Collections.<OWLAnnotation>singletonList(annotations .iterator().next()); but just wondering why I get this error message and I assume that nobody of the OWL API developers will commit non-compiling code. Cheers, Lorenz > Hello, > > when I checkout the latest GitHub cdoe of branch version4 I get 2 > compiler errors in class > uk.ac.manchester.cs.owl.owlapi.OWLAxiomImplWithEntityAndAnonCaching line 62 > > and class > uk.ac.manchester.cs.owl.owlapi.OWLAxiomImplWithoutEntityAndAnonCaching > line 64 > > with error message > > Type mismatch: cannot convert from List<capture#5-of ? extends > OWLAnnotation> to List<OWLAnnotation> > > In both lines, a List<OWLAnnotation> object is set by > > this.annotations = Collections.singletonList(annotations > .iterator().next()); > > Is it a problem of my IDE or Java version (JDK 1.7.0_40)? > > Kind regards, > Lorenz > -- Lorenz Bühmann AKSW group, University of Leipzig Group: http://aksw.org - semantic web research center |