aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2012-01-09 21:45:43 +0100
committerRoel Spilker <r.spilker@gmail.com>2012-01-09 21:45:43 +0100
commit2ddf708b37f32e5c618927dd3e7dc8ac0e2e18d4 (patch)
tree09eee8b3889fbd711e35b43be8cd37a666d20b74 /src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
parent101adef99c670cd05951a1ef66c1530b4234c1ca (diff)
downloadlombok-2ddf708b37f32e5c618927dd3e7dc8ac0e2e18d4.tar.gz
lombok-2ddf708b37f32e5c618927dd3e7dc8ac0e2e18d4.tar.bz2
lombok-2ddf708b37f32e5c618927dd3e7dc8ac0e2e18d4.zip
The line about lombok added to the about dialog wasn't working for all eclipse releases and ways to boot up eclipse. Now it does. Also added an item for this in the changelog.
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java')
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
index 220aa9e2..a721b468 100644
--- a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
+++ b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
@@ -158,8 +158,8 @@ public class EclipsePatcher extends Agent {
*/
sm.addScript(ScriptBuilder.wrapReturnValue()
.target(new MethodTarget("org.eclipse.core.internal.runtime.Product", "getProperty", "java.lang.String", "java.lang.String"))
- .wrapMethod(new Hook("lombok.eclipse.agent.PatchFixes", "addLombokNotesToEclipseAboutDialog", "java.lang.String", "java.lang.String", "org.eclipse.core.internal.runtime.Product", "java.lang.String"))
- .request(StackRequest.RETURN_VALUE, StackRequest.THIS, StackRequest.PARAM1)
+ .wrapMethod(new Hook("lombok.eclipse.agent.PatchFixes", "addLombokNotesToEclipseAboutDialog", "java.lang.String", "java.lang.String", "java.lang.String"))
+ .request(StackRequest.RETURN_VALUE, StackRequest.PARAM1)
.transplant().build());
}