mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 06:17:44 +00:00
Added tests for this() call in SneakyThrows (issue 381)
This commit is contained in:
1 parent
960761a298
commit
8e24e2e123
4 files changed
+24
-1
No files matched your search
@@ -5,6 +5,11 @@ class SneakyThrowsPlain {
|
||||
System.out.println("constructor");
|
||||
}
|
||||
|
||||
@lombok.SneakyThrows SneakyThrowsPlain(int x) {
|
||||
this();
|
||||
System.out.println("constructor2");
|
||||
}
|
||||
|
||||
@lombok.SneakyThrows public void test() {
|
||||
System.out.println("test1");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user