diff -r 4fa33bfa8fb9 -r 0f4f8f255c32 src/main/java/de/uapcore/lightpit/LightPITModule.java --- a/src/main/java/de/uapcore/lightpit/LightPITModule.java Sun May 10 10:11:10 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/LightPITModule.java Sun May 10 10:11:37 2020 +0200 @@ -128,24 +128,13 @@ class ELProxy { private final String bundleBaseName, modulePath, menuKey, titleKey, nameKey, descKey; - public static ELProxy convert(LightPITModule annotation) { - return new ELProxy( - annotation.bundleBaseName(), - annotation.modulePath(), - annotation.menuKey(), - annotation.titleKey(), - annotation.nameKey(), - annotation.descKey() - ); - } - - private ELProxy(String bundleBaseName, String modulePath, String menuKey, String titleKey, String nameKey, String descKey) { - this.bundleBaseName = bundleBaseName; - this.modulePath = modulePath; - this.menuKey = menuKey; - this.titleKey = titleKey; - this.nameKey = nameKey; - this.descKey = descKey; + public ELProxy(LightPITModule annotation) { + bundleBaseName = annotation.bundleBaseName(); + modulePath = annotation.modulePath(); + menuKey = annotation.menuKey(); + titleKey = annotation.titleKey(); + nameKey = annotation.nameKey(); + descKey = annotation.descKey(); } public String getBundleBaseName() {