From 8b7a7cbc813653a3248d6cf3a7779e220957bc85 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 8 May 2017 21:28:02 +0200 Subject: The great rename: the old ‘website’ is now ‘website-old’, and ‘website2’ is now ‘website’. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EqualsAndHashCodeExample_pre.jpage | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 website2/usageExamples/EqualsAndHashCodeExample_pre.jpage (limited to 'website2/usageExamples/EqualsAndHashCodeExample_pre.jpage') diff --git a/website2/usageExamples/EqualsAndHashCodeExample_pre.jpage b/website2/usageExamples/EqualsAndHashCodeExample_pre.jpage deleted file mode 100644 index 64faf59f..00000000 --- a/website2/usageExamples/EqualsAndHashCodeExample_pre.jpage +++ /dev/null @@ -1,25 +0,0 @@ -import lombok.EqualsAndHashCode; - -@EqualsAndHashCode(exclude={"id", "shape"}) -public class EqualsAndHashCodeExample { - private transient int transientVar = 10; - private String name; - private double score; - private Shape shape = new Square(5, 10); - private String[] tags; - private int id; - - public String getName() { - return this.name; - } - - @EqualsAndHashCode(callSuper=true) - public static class Square extends Shape { - private final int width, height; - - public Square(int width, int height) { - this.width = width; - this.height = height; - } - } -} -- cgit