mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 02:16:18 +00:00
Added tests to make sure issue 385 is not caused by a simple bug regarding enums
This commit is contained in:
1 parent
5739ffb0d5
commit
eb22b3fe05
3 files changed
+50
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import lombok.AccessLevel;
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@RequiredArgsConstructor(access=AccessLevel.PRIVATE)
|
||||
enum GetterEnum {
|
||||
ONE(1, "One")
|
||||
;
|
||||
@Getter private final int id;
|
||||
@Getter private final String name;
|
||||
}
|
||||
Reference in new issue
Block a user