From e693672cd44ab0e648643f4b5c24b1c177ab6c84 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 12 Jul 2010 23:48:02 +0200 Subject: Changed build system to ivy. --- src/netbeansAgent/lombok/netbeans/agent/PatchFixes.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/netbeansAgent/lombok/netbeans/agent') 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) { -- cgit