Closed axb21 closed 8 years ago
I see the issue as you described. It arises from my failure to check in the updated code. I'll push an update soon, which will includes a good amount of other improvements that I've been waiting to push to the public repo.
Thank you, feel free to message me about any issues, questions or possible improvements.
brian.feldman@uspto.gov
fix pushed to public repo
@bgfeldm thank you! The code compiles correctly now. I have some tests I'd like to run with it and will let you know if I encounter any further issues. I'm pretty thrilled to get this working because I've more or less re-implemented some of what you've done here, and I'm sure I've made mistakes.
As far as suggesting improvements, I'd love to talk more with you about that. I will email you when I get my head straight about what I'm thinking and run some tests. I am planning to use this code with scala, and I have converted the multi-project pom.xml files into a corresponding multi-project build that works with SBT. This code builds correctly now both in maven and in SBT, so that's good. Java and scala interoperate pretty well but I'll probably write some more scala-friendly interfaces to some of this code. If there's any interest in that, or even just the scala build setup, I'd be happy to share.
Anyway, thanks again.
A clean clone of this project and
mvn compile
results in the following errors (truncated for brevity) in both jdk 1.7 and jdk 1.8, both openjdk as well as the Oracle jdk, on Ubuntu 16.04:I had a look at the error on line 42 as an exemplar. It looks like
MatchClassificationPatent.setup()
is passing aList<Classification>
intopublic static List<? extends Classification> getByType(Collection<? extends Classification> classes, ClassificationType type)
declared inClassification
. This call returnsList<? extends Classification>
, whichsetup()
attempts to assign to a variable that is declared of typeList<Classification>
. The compiler throws an error here. The error on line 66 looks similar. I have not looked through all the errors but I imagine they have to do with this issue of java generics.