diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-05-06 22:09:13 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-05-06 22:09:13 +0200 |
commit | f98bf919cc6701e98087d39fefb7bbfc85688834 (patch) | |
tree | eae8f7209e1e26d313747ab7e1ae7bee185609c0 /doc | |
parent | 2e27817ca743858c7188128f96c8c32b894ea42e (diff) | |
download | lombok-f98bf919cc6701e98087d39fefb7bbfc85688834.tar.gz lombok-f98bf919cc6701e98087d39fefb7bbfc85688834.tar.bz2 lombok-f98bf919cc6701e98087d39fefb7bbfc85688834.zip |
Fixed issue 513: If equals is present but hashCode isn't, @Data now generates a warning to explain this strange situation.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/changelog.markdown | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/changelog.markdown b/doc/changelog.markdown index 15e3c1e0..32af72d3 100644 --- a/doc/changelog.markdown +++ b/doc/changelog.markdown @@ -1,6 +1,9 @@ Lombok Changelog ---------------- +### v0.11.9 (Edgy Guinea Pig) +* BUGFIX: When using `@Data`, warnings are not generated if certain aspects are not generated because you wrote explicit versions of them. However, this gets confusing with `equals` / `hashCode` / `canEqual`, as nothing is generated if any one of those methods is present. Now, if one of `equals` or `hashCode` is present but not the other one (or `canEqual` is present but `equals` and/or `hashCode` is missing), a warning is emitted to explain that lombok will not generate any of the equals / hashCode methods, and that you should either write them all yourself or remove them all. [Issue #513](https://code.google.com/p/projectlombok/issues/detail?id=513) + ### v0.11.8 (April 23rd, 2013) * FEATURE: Major performance improvements in eclipse by profiling the project clean process. * CHANGE: {Experimental} The experimental `@Value` feature no longer implies the also experimental `@Wither`. If you like your `@Value` classes to make withers, add `@Wither` to the class right next to `@Value`. |