Skip to content

Commit 87e8af4

Browse files
committed
[comment] Added explanation: We skip ecj check on NonNullOnRecordExistingConstructorz.
1 parent 1255ae0 commit 87e8af4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/transform/resource/after-ecj/NonNullOnRecordExistingConstructor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// version 14:
2-
// skip compare content
2+
// skip compare content: At time of writing, the `@NonNull` annotation causes our handler to produce an explicit-params constructor (i.e. `public NNOREC(String a) {` instead of `public NNOREC {`) with `@NonNull`, and in the statements the null check. But (?) other eclipse versions might not, hence, we ignore content.
33
import lombok.NonNull;
44
public record NonNullOnRecordExistingConstructor(String a) {
55
public NonNullOnRecordExistingConstructor {

0 commit comments

Comments
 (0)