From bf5caea34ddc08eb80a7fcc7c853b0e98d0af14f Mon Sep 17 00:00:00 2001 From: benfry Date: Wed, 5 Dec 2012 00:56:11 +0000 Subject: [PATCH] fix "no library found" errors on Android --- app/src/processing/mode/java/JavaBuild.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/processing/mode/java/JavaBuild.java b/app/src/processing/mode/java/JavaBuild.java index 2cfc11c79..837773229 100644 --- a/app/src/processing/mode/java/JavaBuild.java +++ b/app/src/processing/mode/java/JavaBuild.java @@ -433,7 +433,7 @@ public class JavaBuild { } } } - if (ignorableImport(item, preprocessor)) { + if (ignorableImport(item)) { found = true; } if (!found) { @@ -515,7 +515,7 @@ public class JavaBuild { * for libraries that begin with a prefix like javax, since that includes * the OpenGL library, even though we're just returning true here, hrm... */ - protected boolean ignorableImport(String pkg, PdePreprocessor preprocessor) { + protected boolean ignorableImport(String pkg) { if (pkg.startsWith("java.")) return true; if (pkg.startsWith("javax.")) return true;