We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have the following contents in a java file in my java sources src/main/com/acme/ScalaOptionValueExtractor.java
src/main/com/acme/ScalaOptionValueExtractor.java
package com.acme; import javax.validation.valueextraction.ExtractedValue; import javax.validation.valueextraction.ValueExtractor; public class ScalaOptionValueExtractor implements ValueExtractor<scala.Option<@ExtractedValue()?>> { @Override public void extractValues(scala.Option<?> originalValue, ValueReceiver receiver) { if(originalValue.isDefined()) { receiver.value(null, originalValue.get()); } } }
when executing scapegoat through sbt, I'm getting the following log:
scapegoat
[info] [scapegoat] Removing scapegoat class directory: /Users/domdorn/acme/masterdata-service/target/scapegoat-classes [info] [scapegoat] setting output dir to [/Users/domdorn/acme/masterdata-service/target/scapegoat-report] [info] [scapegoat] ignored file patterns: .*java [info] [scapegoat] source prefix: src/main/scala [info] [scapegoat] minimal warn level: info [info] compiling 19 Scala sources and 99 Java sources to /Users/domdorn/acme/masterdata-service/target/scapegoat-classes ... [error] /Users/domdorn/acme/masterdata-service/src/main/java/com/acme/ScalaOptionValueExtractor.java:6:97: illegal start of type [error] public class ScalaOptionValueExtractor implements ValueExtractor<scala.Option<@ExtractedValue() ?>> { [error] ^ [error] /Users/domdorn/acme/masterdata-service/src/main/java/com/acme/ScalaOptionValueExtractor.java:14:2: `>` expected but eof found. [error] } [error] ^ [error] /Users/domdorn/acme/masterdata-service/src/main/java/com/acme/VavrOptionValueExtractor.java:6:106: illegal start of type [error] public class VavrOptionValueExtractor implements ValueExtractor<io.vavr.control.Option<@ExtractedValue() ?>> { [error] ^ [error] /Users/domdorn/acme/masterdata-service/src/main/java/com/acme/VavrOptionValueExtractor.java:14:2: `>` expected but eof found. [error] } [error] ^ [error] four errors found [error] (Scapegoat / compileIncremental) Compilation failed
I tried disabling scapegoat for java files by setting:
scapegoatIgnoredFiles := Seq(".*java"),
but that doesn't work. Any help highly appreciated - this is currently blocking my PR :/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have the following contents in a java file in my java sources
src/main/com/acme/ScalaOptionValueExtractor.java
when executing
scapegoat
through sbt, I'm getting the following log:I tried disabling scapegoat for java files by setting:
but that doesn't work.
Any help highly appreciated - this is currently blocking my PR :/
The text was updated successfully, but these errors were encountered: