diff options
author | Roel Spilker <r.spilker@gmail.com> | 2016-11-21 22:54:29 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2016-11-21 22:54:29 +0100 |
commit | 8c2ea4fbc64e8b7b4e553a6f8b9363eb0b70d76a (patch) | |
tree | ee4ad67aa91439e310ee20298db777c9809560d4 /usage_examples/experimental/varExample_post.jpage | |
parent | 369518c92ce4e79ce62ce334497c9309e074f44c (diff) | |
download | lombok-8c2ea4fbc64e8b7b4e553a6f8b9363eb0b70d76a.tar.gz lombok-8c2ea4fbc64e8b7b4e553a6f8b9363eb0b70d76a.tar.bz2 lombok-8c2ea4fbc64e8b7b4e553a6f8b9363eb0b70d76a.zip |
Finish documentation on `var`
Diffstat (limited to 'usage_examples/experimental/varExample_post.jpage')
-rw-r--r-- | usage_examples/experimental/varExample_post.jpage | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usage_examples/experimental/varExample_post.jpage b/usage_examples/experimental/varExample_post.jpage index 25623510..41c022d3 100644 --- a/usage_examples/experimental/varExample_post.jpage +++ b/usage_examples/experimental/varExample_post.jpage @@ -3,14 +3,14 @@ import lombok.var; public class ValExample { public String example() { - ArrayList example = new ArrayList<String>(); + ArrayList<String> example = new ArrayList<String>(); example.add("Hello, World!"); final String foo = example.get(0); return foo.toLowerCase(); } public void example2() { - ArrayList list = new ArrayList<String>(); + ArrayList<String> list = new ArrayList<String>(); list.add("zero"); list.add("one"); list.add("two"); |