mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-11 03:13:38 +00:00
Fixed issue 295: Using log in static initializers
This commit is contained in:
1 parent
e8495f0ddc
commit
99e36bf51c
2 files changed
+5
-2
No files matched your search
@@ -1,6 +1,9 @@
|
||||
Lombok Changelog
|
||||
----------------
|
||||
|
||||
### v0.10.3
|
||||
* BUGFIX: Using the `log` field from `@Log`, etc, now works in static initializers. [Issue #295](http://code.google.com/p/projectlombok/issues/detail?id=295)
|
||||
|
||||
### v0.10.2 (November 1st, 2011)
|
||||
* BUGFIX: Delombok will no longer jumble up comments from different files when using -sourcepath option. [Issue #284](http://code.google.com/p/projectlombok/issues/detail?id=284)
|
||||
* BUGFIX: Turns out treating `@NotNull` as an annotation that indicates lombok should generate nullcheck guards causes all sorts of problems. This has been removed again, and documentation has been updated to reflect this. [Issue #287](http://code.google.com/p/projectlombok/issues/detail?id=287)
|
||||
|
||||
@@ -1014,8 +1014,8 @@ public class EclipseHandlerUtil {
|
||||
parent.fields[0] = field;
|
||||
} else {
|
||||
FieldDeclaration[] newArray = new FieldDeclaration[parent.fields.length + 1];
|
||||
System.arraycopy(parent.fields, 0, newArray, 0, parent.fields.length);
|
||||
newArray[parent.fields.length] = field;
|
||||
System.arraycopy(parent.fields, 0, newArray, 1, parent.fields.length);
|
||||
newArray[0] = field;
|
||||
parent.fields = newArray;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user