Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 32.53
-
Labels:None
-
Number of attachments :
Description
We have a class methods that's like this:
/**
- Takes an Iterable of Iterables of T and flattens it down to a Collection
- of T.
*/
public static <T, Source extends Iterable<? extends Iterable<T>>, Store extends Collection<T>> Store flatten( Source source, Store store ) {
for ( Iterable<T> subSource : source )Unknown macro: { for ( T t }return store;
}
We are running hudson+sonar plugin, when we reach the sonar build we get this error:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot execute the command org.codehaus.mojo:javancss-maven-plugin::report
Embedded error: An error has occurred in JavaNCSS Report report generation.
Encountered "< T , Source extends Iterable < ? extends Iterable < T >> , Store extends" at line 34, column 19.
Was expecting one of:
"boolean" ...
"byte" ...
"char" ...
"double" ...
"final" ...
"float" ...
"int" ...
"long" ...
"private" ...
"protected" ...
"public" ...
"short" ...
"static" ...
"transient" ...
"volatile" ...
"@" ...
"abstract" ...
"strictfp" ...
"class" ...
"interface" ...
"synchronized" ...
"native" ...
"enum" ...
Thanks
can you give us a link to the source causing this error?