amaurycrickx / recognito

Java Speaker Recognition Framework
Apache License 2.0
191 stars 102 forks source link

Specify javac source/target to fix override annotation problem #6

Closed jsteinhart closed 10 years ago

jsteinhart commented 10 years ago

Project failed to build for me due to the @Override annotations on methods from Runnable and Callable in VoicePrintConcurrencyTest.java. This is because that annotation is only allowed on interface methods from Java 1.6 onwards. By specifying the source and target versions in the POM (instead of accepting whatever defaults may be in effect from IDE, etc.), the error is fixed.

amaurycrickx commented 10 years ago

Makes perfect sense :-)

Thanks for caring about sending a pull request !