diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-07-12 23:48:02 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-07-12 23:48:02 +0200 |
commit | e693672cd44ab0e648643f4b5c24b1c177ab6c84 (patch) | |
tree | f07383881d17b775a9205f175c317bbb4d5dbaa3 /src/netbeansAgent | |
parent | a118bc79249ba9184ada2315dacf48fd19e444a5 (diff) | |
download | lombok-e693672cd44ab0e648643f4b5c24b1c177ab6c84.tar.gz lombok-e693672cd44ab0e648643f4b5c24b1c177ab6c84.tar.bz2 lombok-e693672cd44ab0e648643f4b5c24b1c177ab6c84.zip |
Changed build system to ivy.
Diffstat (limited to 'src/netbeansAgent')
-rw-r--r-- | src/netbeansAgent/lombok/netbeans/agent/PatchFixes.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/netbeansAgent/lombok/netbeans/agent/PatchFixes.java b/src/netbeansAgent/lombok/netbeans/agent/PatchFixes.java index 7b85be29..f45a4736 100644 --- a/src/netbeansAgent/lombok/netbeans/agent/PatchFixes.java +++ b/src/netbeansAgent/lombok/netbeans/agent/PatchFixes.java @@ -52,7 +52,7 @@ import com.sun.tools.javac.util.Context; // This footwork was converted into a patch script form by me (rzwitserloot). See: // http://code.google.com/p/projectlombok/issues/detail?id=20#c3 public class PatchFixes { - public static boolean loadClass_decision(@SuppressWarnings("unused") ClassLoader loader, String name) throws Exception { + public static boolean loadClass_decision(ClassLoader loader, String name) throws Exception { return name.startsWith("lombok."); } @@ -64,7 +64,7 @@ public class PatchFixes { return (Class<?>)m.invoke(loader, pkg, name); } - public static boolean getResource_decision(@SuppressWarnings("unused") ClassLoader loader, String name) throws Exception { + public static boolean getResource_decision(ClassLoader loader, String name) throws Exception { return name.startsWith("META-INF/services/lombok."); } @@ -74,7 +74,7 @@ public class PatchFixes { return (URL) m.invoke(loader, name); } - public static boolean getResources_decision(@SuppressWarnings("unused") ClassLoader loader, String name) throws Exception { + public static boolean getResources_decision(ClassLoader loader, String name) throws Exception { return name.startsWith("META-INF/services/lombok."); } @@ -130,7 +130,7 @@ public class PatchFixes { } public static void addTaskListenerWhenCallingJavac(JavacTaskImpl task, - @SuppressWarnings("unused") /* Will come in handy later */ ClasspathInfo cpInfo) throws Exception { + ClasspathInfo cpInfo) throws Exception { if (task == null) return; Class<?> entryPoint = JavacTaskImpl.class.getClassLoader().loadClass("lombok.netbeans.agent.NetbeansEntryPoint"); if (entryPoint == null) { |