We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aa264e commit 1255ae0Copy full SHA for 1255ae0
1 file changed
src/core/lombok/eclipse/EclipseAST.java
@@ -403,8 +403,9 @@ private EclipseNode buildType(TypeDeclaration type) {
403
}
404
405
private Collection<EclipseNode> buildRecordComponents(AbstractVariableDeclaration[] children) {
406
+ if (children == null) return Collections.emptyList();
407
List<EclipseNode> childNodes = new ArrayList<EclipseNode>();
- if (children != null) for (int i = 0; i < children.length; i++) {
408
+ for (int i = 0; i < children.length; i++) {
409
addIfNotNull(childNodes, buildRecordComponent(children[i]));
410
411
return childNodes;
0 commit comments