aboutsummaryrefslogtreecommitdiff
path: root/doc/changelog.markdown
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-07-21 10:51:09 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-07-21 10:51:09 +0200
commit91bb3455da2913c81745d2a7f7e5b42839964f58 (patch)
treed01d7683b1ad91ada20df34d69ef648aaceb0815 /doc/changelog.markdown
parentc06660bd186c7ae8215a822c4eceab097407eeda (diff)
downloadlombok-91bb3455da2913c81745d2a7f7e5b42839964f58.tar.gz
lombok-91bb3455da2913c81745d2a7f7e5b42839964f58.tar.bz2
lombok-91bb3455da2913c81745d2a7f7e5b42839964f58.zip
Added using .getX() instead of using .x in equals, hashCode, and toString. Also updated changelog as well as the docs.
Also updated usage examples for @EqualsAndHashCode, @ToString, and @Data, which also contained some other minor issues (such as missing this. qualifiers). Still to do is to detect that getters don't exist _yet_ but will later due to @Getter or @Data.
Diffstat (limited to 'doc/changelog.markdown')
-rw-r--r--doc/changelog.markdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/changelog.markdown b/doc/changelog.markdown
index 9816cfde..e2425717 100644
--- a/doc/changelog.markdown
+++ b/doc/changelog.markdown
@@ -17,6 +17,7 @@ Lombok Changelog
* BUGFIX: delombok now no longer forgets to remove `import lombok.AccessLevel;`. In netbeans, that import will no longer be flagged erroneously as being unused. [Issue #100](http://code.google.com/p/projectlombok/issues/detail?id=100) and [Issue #103](http://code.google.com/p/projectlombok/issues/detail?id=103)
* BUGFIX: While its discouraged, `import lombok.*;` is supposed to work in the vast majority of cases. In eclipse, however, it didn't. Now it does. [Issue #102](http://code.google.com/p/projectlombok/issues/detail?id=102)
* BUGFIX: When `@Getter` or `@Setter` is applied to a multiple field declaration, such as `@Getter int x, y;`, the annotation now applies to all fields, not just the first. [Issue #54](http://code.google.com/p/projectlombok/issues/detail?id=54)
+* ENHANCEMENT: generated `toString`, `equals` and `hashCode` methods will now use `this.getX()` and `other.getX()` instead of `this.x` and `other.x` if a suitable getter is available. This behaviour is useful for proxied classes, such as the POJOs that hibernate makes. Usage of the getters can be suppressed with `@ToString/@EqualsAndHashCode(doNotUseGetters = true)`. [Issue #110](http://code.google.com/p/projectlombok/issues/detail?id=110)
### v0.9.2 "Hailbunny" (December 15th, 2009)
* preliminary support for lombok on NetBeans! - thanks go to Jan Lahoda from NetBeans. [Issue #20](http://code.google.com/p/projectlombok/issues/detail?id=20)