mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 14:16:11 +00:00
[deps] Updated eclipse deps to 3.9 tree. This also enables testing java7 features on ecj.
[Log] updated naming for @Log (topic= instead of mchmulder's 'value').
This commit is contained in:
1 parent
db24fd42c5
commit
d78135180c
39 files changed
+182
-64
No files matched your search
@@ -13,11 +13,13 @@ class SneakyThrowsMultiple {
|
||||
System.out.println("test1");
|
||||
throw new IOException();
|
||||
}
|
||||
catch (final IOException $ex) {
|
||||
catch (final IOException $ex)
|
||||
{
|
||||
throw lombok.Lombok.sneakyThrow($ex);
|
||||
}
|
||||
}
|
||||
catch (final Throwable $ex) {
|
||||
catch (final Throwable $ex)
|
||||
{
|
||||
throw lombok.Lombok.sneakyThrow($ex);
|
||||
}
|
||||
}
|
||||
@@ -36,11 +38,13 @@ class SneakyThrowsMultiple {
|
||||
throw new AWTException("WHAT");
|
||||
}
|
||||
}
|
||||
catch (final AWTException $ex) {
|
||||
catch (final AWTException $ex)
|
||||
{
|
||||
throw lombok.Lombok.sneakyThrow($ex);
|
||||
}
|
||||
}
|
||||
catch (final IOException $ex) {
|
||||
catch (final IOException $ex)
|
||||
{
|
||||
throw lombok.Lombok.sneakyThrow($ex);
|
||||
}
|
||||
}
|
||||
@@ -52,11 +56,13 @@ class SneakyThrowsMultiple {
|
||||
System.out.println("test3");
|
||||
throw new IOException();
|
||||
}
|
||||
catch (final IOException $ex) {
|
||||
catch (final IOException $ex)
|
||||
{
|
||||
throw lombok.Lombok.sneakyThrow($ex);
|
||||
}
|
||||
}
|
||||
catch (final Throwable $ex) {
|
||||
catch (final Throwable $ex)
|
||||
{
|
||||
throw lombok.Lombok.sneakyThrow($ex);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user