X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Futil%2FEjAlbertBrowserLauncher.java;h=cf46138e615168e518ed184c2d52071d6ed06e05;hp=a2bb0590dc0e44337add40beff4805ff0953d3ce;hb=3f8aa5300e178e8975b0edc896a5a9d303e7bdf3;hpb=8e190fb0ff508ccf4962bbfbf8295a431805c12b diff --git a/src/org/ibex/util/EjAlbertBrowserLauncher.java b/src/org/ibex/util/EjAlbertBrowserLauncher.java index a2bb059..cf46138 100644 --- a/src/org/ibex/util/EjAlbertBrowserLauncher.java +++ b/src/org/ibex/util/EjAlbertBrowserLauncher.java @@ -98,7 +98,7 @@ public class EjAlbertBrowserLauncher { private static Method getFileType; /** The openURL method of com.apple.mrj.MRJFileUtils */ - private static Method openURL; + private static Method openURLm; /** The makeOSType method of com.apple.MacOS.OSUtils */ private static Method makeOSType; @@ -339,7 +339,7 @@ public class EjAlbertBrowserLauncher { case MRJ_3_1: try { mrjFileUtilsClass = Class.forName("com.apple.mrj.MRJFileUtils"); - openURL = mrjFileUtilsClass.getDeclaredMethod("openURL", new Class[] { String.class }); + openURLm = mrjFileUtilsClass.getDeclaredMethod("openURL", new Class[] { String.class }); } catch (ClassNotFoundException cnfe) { errorMessage = cnfe.getMessage(); return false; @@ -522,7 +522,7 @@ public class EjAlbertBrowserLauncher { break; case MRJ_3_1: try { - openURL.invoke(null, new Object[] { url }); + openURLm.invoke(null, new Object[] { url }); } catch (InvocationTargetException ite) { throw new IOException("InvocationTargetException while calling openURL: " + ite.getMessage()); } catch (IllegalAccessException iae) {