From 5dad9c39b8e6a6074ffd5f24e252534f099a7466 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 6 Jan 2017 01:22:13 +0100 Subject: [PATCH] =?UTF-8?q?the=20public=20API=20generator=20now=20skips=20?= =?UTF-8?q?ConfigurationKeys=20classes=20which=20really=20aren=E2=80=99t?= =?UTF-8?q?=20needed=20and=20kinda=20clutter=20up=20the=20jar=20(There=20a?= =?UTF-8?q?re=20a=20lot=20of=20class=20files=20generated=20by=20that=20one?= =?UTF-8?q?=20source=20file!).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/lombok/core/PublicApiCreatorApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);