diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-11-29 19:46:47 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-11-29 19:46:47 +0100 |
commit | 64f47685ca8fee174d87688e8c5d33de4c153c9b (patch) | |
tree | ab6c6fcfdbf648801256f78db829808eb1bb965d /test/lombok/resource/before | |
parent | 96b7c8ed471745366378d5b7cec8890d16532dee (diff) | |
parent | eb1a51588779ca55c9855651f9eefed9459f0874 (diff) | |
download | lombok-64f47685ca8fee174d87688e8c5d33de4c153c9b.tar.gz lombok-64f47685ca8fee174d87688e8c5d33de4c153c9b.tar.bz2 lombok-64f47685ca8fee174d87688e8c5d33de4c153c9b.zip |
Merge branch 'master' into netbeans
Diffstat (limited to 'test/lombok/resource/before')
-rw-r--r-- | test/lombok/resource/before/CleanupPlain.java | 3 | ||||
-rw-r--r-- | test/lombok/resource/before/GetterPlain.java | 2 | ||||
-rw-r--r-- | test/lombok/resource/before/SetterPlain.java | 3 | ||||
-rw-r--r-- | test/lombok/resource/before/SynchronizedPlain.java | 17 |
4 files changed, 20 insertions, 5 deletions
diff --git a/test/lombok/resource/before/CleanupPlain.java b/test/lombok/resource/before/CleanupPlain.java index 6cf09062..a91ac3c1 100644 --- a/test/lombok/resource/before/CleanupPlain.java +++ b/test/lombok/resource/before/CleanupPlain.java @@ -1,7 +1,6 @@ -//ignore import lombok.Cleanup; import java.io.*; -class Cleanup { +class CleanupPlain { void test() throws Exception { @lombok.Cleanup InputStream in = new FileInputStream("in"); @Cleanup OutputStream out = new FileOutputStream("out"); diff --git a/test/lombok/resource/before/GetterPlain.java b/test/lombok/resource/before/GetterPlain.java index e6018972..d104f428 100644 --- a/test/lombok/resource/before/GetterPlain.java +++ b/test/lombok/resource/before/GetterPlain.java @@ -1,5 +1,5 @@ import lombok.Getter; -class Getter { +class GetterPlain { @lombok.Getter int i; @Getter int foo; }
\ No newline at end of file diff --git a/test/lombok/resource/before/SetterPlain.java b/test/lombok/resource/before/SetterPlain.java index 85d3aad5..e1ac99f8 100644 --- a/test/lombok/resource/before/SetterPlain.java +++ b/test/lombok/resource/before/SetterPlain.java @@ -1,6 +1,5 @@ -//ignore import lombok.Setter; -class Setter { +class SetterPlain { @lombok.Setter int i; @Setter int foo; }
\ No newline at end of file diff --git a/test/lombok/resource/before/SynchronizedPlain.java b/test/lombok/resource/before/SynchronizedPlain.java new file mode 100644 index 00000000..6f5f3b64 --- /dev/null +++ b/test/lombok/resource/before/SynchronizedPlain.java @@ -0,0 +1,17 @@ +import lombok.Synchronized; +class SynchronizedPlain1 { + @lombok.Synchronized void test() { + System.out.println("one"); + } + @Synchronized void test2() { + System.out.println("two"); + } +} +class SynchronizedPlain2 { + @lombok.Synchronized static void test() { + System.out.println("three"); + } + @Synchronized static void test2() { + System.out.println("four"); + } +}
\ No newline at end of file |