mirror of
https://github.com/jlengrand/quarkus.git
synced 2026-03-10 08:41:22 +00:00
Don't presize an empty array
This commit is contained in:
@@ -70,7 +70,7 @@ class CacheProcessor {
|
||||
}
|
||||
}
|
||||
}
|
||||
return new ValidationErrorBuildItem(throwables.toArray(new Throwable[throwables.size()]));
|
||||
return new ValidationErrorBuildItem(throwables.toArray(new Throwable[0]));
|
||||
}
|
||||
|
||||
@BuildStep
|
||||
|
||||
Reference in New Issue
Block a user