diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-08-16 22:23:08 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-08-16 22:24:48 +1000 |
commit | 3579f76f151b26c42b1bd9dfc2374132ff61cca1 (patch) | |
tree | 89279b46bb54f0e7a1dbe5cdb78d1189e04b72d2 /odk | |
parent | 1bae7f5a5732068fa7181cbffdd10b62022a5e30 (diff) |
Suppress unchecked warning - this is fine
Change-Id: I69f47cf975a9ed91d4a1408351b5ad1751aab19e
Diffstat (limited to 'odk')
-rw-r--r-- | odk/source/com/sun/star/lib/loader/Loader.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/odk/source/com/sun/star/lib/loader/Loader.java b/odk/source/com/sun/star/lib/loader/Loader.java index 0c55d19a84cd..908e3f03bcf4 100644 --- a/odk/source/com/sun/star/lib/loader/Loader.java +++ b/odk/source/com/sun/star/lib/loader/Loader.java @@ -124,6 +124,7 @@ public final class Loader { ClassLoader cl = getCustomLoader(); Thread.currentThread().setContextClassLoader(cl); Class c = cl.loadClass( className ); + @SuppressWarnings("unchecked") Method m = c.getMethod( "main", new Class[] { String[].class } ); m.invoke( null, new Object[] { args } ); } |