mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 16:15:16 +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
@@ -0,0 +1,14 @@
|
||||
import lombok.val;
|
||||
import java.io.IOException;
|
||||
public class ValInTryWithResources {
|
||||
public ValInTryWithResources() {
|
||||
super();
|
||||
}
|
||||
public void whyTryInsteadOfCleanup() throws IOException {
|
||||
try (final @val java.io.InputStream in = getClass().getResourceAsStream("ValInTryWithResources.class"))
|
||||
{
|
||||
final @val java.io.InputStream i = in;
|
||||
final @val int j = in.read();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user