From aa1a0e7ac87f5e96a39d0bad670aa8c7b7df85d4 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 14 Jul 2011 14:44:25 +0200 Subject: The site's lombok v. vanilla java examples included lombok annotations on the vanilla java side. Fabrizio Guidici found this one. --- usage_examples/ConstructorExample_post.jpage | 2 -- usage_examples/DelegateExample_post.jpage | 2 -- 2 files changed, 4 deletions(-) (limited to 'usage_examples') diff --git a/usage_examples/ConstructorExample_post.jpage b/usage_examples/ConstructorExample_post.jpage index 5f4aa987..8a2d5069 100644 --- a/usage_examples/ConstructorExample_post.jpage +++ b/usage_examples/ConstructorExample_post.jpage @@ -1,5 +1,3 @@ -@RequiredArgsConstructor(staticName = "of") -@AllArgsConstructor(access = AccessLevel.PROTECTED) public class ConstructorExample { private int x, y; @NonNull private T description; diff --git a/usage_examples/DelegateExample_post.jpage b/usage_examples/DelegateExample_post.jpage index af2acc1a..4ece3b0e 100644 --- a/usage_examples/DelegateExample_post.jpage +++ b/usage_examples/DelegateExample_post.jpage @@ -8,7 +8,6 @@ public class DelegationExample { boolean remove(Object item); } - @Delegate(types=SimpleCollection.class) private final Collection collection = new ArrayList(); @java.lang.SuppressWarnings("all") @@ -30,7 +29,6 @@ class ExcludesDelegateExample { boolean addAll(Collection x); } - @Delegate(excludes=Add.class) private final Collection collection = new ArrayList(); public boolean add(String item) { -- cgit