mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 18:15:59 +00:00
add comments
This commit is contained in:
1 parent
867c3caf61
commit
ff1c01d9e9
1 file changed
+5
-1
@@ -393,7 +393,11 @@ public class LombokProcessor extends AbstractProcessor {
|
||||
if (trees != null) {
|
||||
try {
|
||||
path = trees.getPath(element);
|
||||
} catch (NullPointerException ignore) {}
|
||||
} catch (NullPointerException ignore) {
|
||||
// Happens if a package-info.java dowsn't conatin a package declaration.
|
||||
// https://github.com/rzwitserloot/lombok/issues/2184
|
||||
// We can safely ignore those, since they do not need any processing
|
||||
}
|
||||
}
|
||||
if (path == null) return null;
|
||||
|
||||
|
||||
Reference in new issue
Block a user