mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-17 02:14:16 +00:00
'val' didn't work on ecj/eclipse when referring to types in the default package. fixed.
This commit is contained in:
1 parent
956165cc8a
commit
98d8a9f63b
1 file changed
+1
@@ -410,6 +410,7 @@ public class Eclipse {
|
||||
} else {
|
||||
String[] pkg = new String(binding.qualifiedPackageName()).split("\\.");
|
||||
String[] name = new String(binding.qualifiedSourceName()).split("\\.");
|
||||
if (pkg.length == 1 && pkg[0].isEmpty()) pkg = new String[0];
|
||||
parts = new char[pkg.length + name.length][];
|
||||
int ptr;
|
||||
for (ptr = 0; ptr < pkg.length; ptr++) parts[ptr] = pkg[ptr].toCharArray();
|
||||
|
||||
Reference in new issue
Block a user