aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse/agent
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-07-25 21:10:20 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-07-25 21:10:20 +0200
commit111d0a5f16667824d0a73b733624e6deffe19a0e (patch)
tree12770888f3c9db76820bab2150fb29835969548f /src/eclipseAgent/lombok/eclipse/agent
parentbe1cfd2f59933725726ec5810e0c189a4aca6ad7 (diff)
downloadlombok-111d0a5f16667824d0a73b733624e6deffe19a0e.tar.gz
lombok-111d0a5f16667824d0a73b733624e6deffe19a0e.tar.bz2
lombok-111d0a5f16667824d0a73b733624e6deffe19a0e.zip
Fixes issue #1789 - picking another workspace duplicates the ‘lombok is installed’ text in the eclipse about dialog.
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse/agent')
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/PatchFixesShadowLoaded.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchFixesShadowLoaded.java b/src/eclipseAgent/lombok/eclipse/agent/PatchFixesShadowLoaded.java
index 52f63765..c0a2c6fe 100644
--- a/src/eclipseAgent/lombok/eclipse/agent/PatchFixesShadowLoaded.java
+++ b/src/eclipseAgent/lombok/eclipse/agent/PatchFixesShadowLoaded.java
@@ -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;