Fixes issue #1789 - picking another workspace duplicates the ‘lombok is installed’ text in the eclipse about dialog.

This commit is contained in:
Reinier Zwitserloot committed 2018-07-25 21:10:20 +02:00
1 parent be1cfd2f59
commit 111d0a5f16
1 file changed
+1
@@ -32,6 +32,7 @@ import lombok.core.Version;
public class PatchFixesShadowLoaded {
public static String addLombokNotesToEclipseAboutDialog(String origReturnValue, String key) {
if ("aboutText".equals(key)) {
if (origReturnValue.contains(" is installed. https://projectlombok.org")) return origReturnValue;
return origReturnValue + "\n\nLombok " + Version.getFullVersion() + " is installed. https://projectlombok.org/";
}
return origReturnValue;