Fix compilation

This commit is contained in:
Clément Fournier committed 2019-10-10 17:37:08 +02:00
1 parent 2fd9d39825
commit ced97bb70b
1 file changed
+2 -2
@@ -490,7 +490,7 @@ public class Report implements Iterable<RuleViolation> {
* @return the iterator
*/
public Iterator<ProcessingError> errors() {
return errors == null ? Collections<ProcessingError>.emptyIterator() : errors.iterator();
return errors == null ? Collections.<ProcessingError>emptyIterator() : errors.iterator();
}
/**
@@ -499,7 +499,7 @@ public class Report implements Iterable<RuleViolation> {
* @return the iterator
*/
public Iterator<ConfigurationError> configErrors() {
return configErrors == null ? Collections<ConfigurationError>.emptyIterator() : configErrors.iterator();
return configErrors == null ? Collections.<ConfigurationError>emptyIterator() : configErrors.iterator();
}
/**