mirror of
https://github.com/jlengrand/quarkus.git
synced 2026-03-10 08:41:22 +00:00
issue-6070 Ignore empty lines in jaxb.index file
This commit is contained in:
committed by
Guillaume Smet
parent
28df7d71bf
commit
415da0f570
@@ -218,8 +218,9 @@ class JaxbProcessor {
|
||||
addResource(path);
|
||||
|
||||
for (String line : Files.readAllLines(p)) {
|
||||
if (!line.startsWith("#")) {
|
||||
String clazz = pkg + line.trim();
|
||||
line = line.trim();
|
||||
if (!line.isEmpty() && !line.startsWith("#")) {
|
||||
String clazz = pkg + line;
|
||||
Class<?> cl = Class.forName(clazz);
|
||||
|
||||
while (cl != Object.class) {
|
||||
|
||||
Reference in New Issue
Block a user