Merge pull request #5 from iKarith/master

Fix varargs warnings
This commit is contained in:
A2 Geek 2017-11-08 12:38:58 -06:00 committed by GitHub
commit 5cdcaa63e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -85,8 +85,8 @@ public class AppleCommander {
"com.webcodepro.applecommander.ui.swt.SwtAppleCommander"); //$NON-NLS-1$
Object object = swtAppleCommander.newInstance();
Method launchMethod = swtAppleCommander.
getMethod("launch", null); //$NON-NLS-1$
launchMethod.invoke(object, null);
getMethod("launch", (Class[])null); //$NON-NLS-1$
launchMethod.invoke(object, (Object[])null);
} catch (ClassNotFoundException e) {
e.printStackTrace();
} catch (SecurityException e) {
@ -139,8 +139,8 @@ public class AppleCommander {
"com.webcodepro.applecommander.ui.swing.SwingAppleCommander"); //$NON-NLS-1$
Object object = swtAppleCommander.newInstance();
Method launchMethod = swtAppleCommander.
getMethod("launch", null); //$NON-NLS-1$
launchMethod.invoke(object, null);
getMethod("launch", (Class[])null); //$NON-NLS-1$
launchMethod.invoke(object, (Object[])null);
} catch (ClassNotFoundException e) {
e.printStackTrace();
} catch (SecurityException e) {