aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-01-06 01:22:13 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-05-29 21:01:54 +0200
commit5dad9c39b8e6a6074ffd5f24e252534f099a7466 (patch)
tree66d06c9e17b4dab522c1dd63b08ffde590341a62
parent36a7cda02ce98b98772b9dd736722f73a8a90e95 (diff)
downloadlombok-5dad9c39b8e6a6074ffd5f24e252534f099a7466.tar.gz
lombok-5dad9c39b8e6a6074ffd5f24e252534f099a7466.tar.bz2
lombok-5dad9c39b8e6a6074ffd5f24e252534f099a7466.zip
the public API generator now skips ConfigurationKeys classes which really aren’t needed and kinda clutter up the jar (There are a lot of class files generated by that one source file!).
-rw-r--r--src/core/lombok/core/PublicApiCreatorApp.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/core/PublicApiCreatorApp.java b/src/core/lombok/core/PublicApiCreatorApp.java
index 178a45e8..c1430c24 100644
--- a/src/core/lombok/core/PublicApiCreatorApp.java
+++ b/src/core/lombok/core/PublicApiCreatorApp.java
@@ -105,7 +105,7 @@ public class PublicApiCreatorApp extends LombokApp {
int firstSlash = subName.indexOf('/');
if (firstSlash == -1) {
// direct member of the lombok package.
- toCopy.add(name);
+ if (!subName.startsWith("ConfigurationKeys")) toCopy.add(name);
continue;
}
String topPkg = subName.substring(0, firstSlash);